OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: dmakatra on 05 Feb 2003, 20:39:40
-
Hi! Is there a way to set acces to da radio list only if you have a specified guy in your group? Plz help.
Thx in advance.
-
in the condition field of the radio trigger have something like
specialguy in groupname
checkout the command as ever, I have a feeling "in" applies to arrays ..... you can make a group look like an array though I can never remember how
-
You can do that in one of two ways.
Using Macguba's idea, the syntax for the trigger's condition would be as follows:
this and specialguy in (units groupname)
The alternate way:
this and (group specialguy == MyGroup)
Where MyGroup is the name of the group you'd like the guy to be in for the trigger (radio command) to work.
-
Thx guys, I have to try that tomorrow!
Macuba, do you never do anything else then online on this forum? YouÂ're sicker than I am! ;D
-
;D