I got a little problem. I did read the Basic trigger tutorial, but i think it is too basic because i didn't found an answer there. I also tried a search on the Forum but didn't got an answer to my problem.
So i try it directly ;D
I have a trigger, activated by anybody present repeatedly. In the on activation box i put:
myaction = player addAction ["Hello", "hello.sqs"]
this is an example i'm working with to check if and how it works, the final action will have different name
As far as good, till now all works. But now i get stucked.
I want the Script to check if the player is WEST or Civilian (Well, actually it checks only if it's west and it presumes when not, he is Civilian since i have no other side on map)
these lines i tried:
?(player == WEST): goto "westguy"
and:
?(_x == WEST): goto "westguy"
The part the script should do when it's civilian follows right after this part and when it's west it jumps to #westguy
I tested this with a west unit, but the script showed me only the Civilian hint i made so it doesn't recon the player (me) as a west guy.
what did i wrong?
Hope you can help me :-\