Jump to content
Sign in to follow this  
Metal Heart

?side player == enemy

Recommended Posts

?side player == enemy does not seem to work properly, I tried the same with ?side player != west and that worked so I think the bug is not in the script. And _string = format ["%1" ,side player]; returns "ENEMY" so it should work but it doesn't...

So this works:

_string = format ["%1", side player];

?_string == "ENEMY" : player groupchat "renegade";

But this doesn't:

?side player == enemy : player groupchat "renegade";

Share this post


Link to post
Share on other sites

i think the right syntax is:

? Side Player == SideEnemy : Hint "Player is Enemy"

Share this post


Link to post
Share on other sites

That seems to work. Strange since west and east are just west and east, not sidewest, sideeast. Also in OFPEC's command reference it's just enemy.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×