Aculaud 0 Posted March 18, 2002 or something to that extent? i just need to make a trigger that activates when the enemy just generally knows about me Share this post Link to post Share on other sites
LauryThorn 0 Posted March 18, 2002 Check out this thread.. (Hope the link works, it's in page 8 anyway) I've used knowsabout > 0 in night-time black-op missions.. Just try things out.. Share this post Link to post Share on other sites
DnA 5154 Posted March 18, 2002 The knowsAbout-value will be changed to represent what an object knows about another object in the game. Example: At 0.3 they may only know there is some object somewhere at 12 o'clock, but they don't know anything about it. At 0.7 they may only know it's a NATO unit. At 1.0 they know it's a NATO soldier. At 2.0 they may know everything about the object. I could be wrong though, please correct me if I am. Also, the values I choose are examples. You may experience that e.g. level 0.7 already tells the object's side and class. I do think 2.0 is the maximum value so 3.0 won't work. I would try 1.0 in your case, but like LauryThorn said: just experiment a little. Share this post Link to post Share on other sites
LauryThorn 0 Posted March 18, 2002 In that black-op mission the task was to spot enemy units. When I spotted unit with binoculars and clicked with right button, trigger mePlayer knowsAbout eOfficer > 0 activated. Just looking at a unit through binoculars did not activate the trigger.. Maybe somebody who is not in such great hurry as I am at the moment could find these things out.. Share this post Link to post Share on other sites
Bremmer 0 Posted March 18, 2002 DnA I'm pretty sure that knowsabout ranges from 0 to 4. 3 should work fine. Cheers Share this post Link to post Share on other sites
Aculaud 0 Posted March 19, 2002 ok, this is all great, but my question remains. How can i write a trigger condition in such a way so that if any enemy sees me, and knows i'm there, it activates. or do i have to write a trigger for every single soldier that could see me? Share this post Link to post Share on other sites
LauryThorn 0 Posted March 19, 2002 I made a mission that has two bases on the map, the other is western and the other is eastern. This may be ugly, but I have two triggers, one for each base. Trigger that is on the western base, is activated by west, and the eastern is activated by east. So in the beginning of the mission, I make two lists: western_forces = list west_trigger eastern_forces = list east_trigger Then in the detection script, I make arrays of those lists. Then it's easy to sleep some time, then check if someone in those lists has detected something, and goto start.. Please ask further questions, I'm sure that I am not making myself clear. Share this post Link to post Share on other sites
Aculaud 0 Posted March 19, 2002 youre right, your not making yourself clear. But i got enough of that to know thats not what i need anyway. I'll say it again: I need a trigger condition that will go off when the enemy knows i exist in that vicinity. Something like: east knowsabout west > 3 or something to that extent. Is that possible? does anyone know a condition that would acomplish the same thing? Am i typing to myself here? Share this post Link to post Share on other sites
LauryThorn 0 Posted March 19, 2002 Do you need to 1) check if your player is detected 2) check if any player is detected ? I suppose that you mean the second option. I've made a script for the first option, but that doesn't help you much, I guess. Share this post Link to post Share on other sites
Aculaud 0 Posted March 19, 2002 i dont need to check if anyones detected. I need the trigger to fire when any enemy knows about me. not just one specific enemy, anyone. I need a trigger that basicly says, If anyone knows about the player, this trigger will fire. Share this post Link to post Share on other sites
LauryThorn 0 Posted March 19, 2002 I could email the script that I made, if you think that it can help. It works a little like this: First make an array of the enemy players. Then wait for a certain time, like 30 seconds. Then count from the enemy-players-array enemies who know about mePlayer > 0 (or 0.5 or 3 or whatever). If such enemy/enemies exist, then they know about you and enemy_knows_about_u = true Get it? Share this post Link to post Share on other sites