All,
I've read through all the basic tutorials and have written a few simple, working scripts. My problem with is with the JOIN command. I simply can not get it to work. Here is the scenario:
I have made a mission on the intro island with two units and one trigger
1st Unit - Group named "rescue" (leader is 'player' type)
2nd Unit - Unit named "pilot". He does not have a connection line to "rescue".
Trigger - A 10 by 10 Ellipse set to go off when entered by "WEST". Neither unit starts in this ellipse. Condition field = "This". Activation field = "[] exec "rescue.sqs""
Here is my "rescue.sqs" file (which is located in the correct folder, btw)
;Rescue.sqs
;This script will force the downed pilot to join the rescue group.
;Command for pilot to join group
pilot Join rescue
;test text to make sure the script is working
TitleText ["The rescue.sqs script is running!", "plain down"]
exit
Both units are named in all lowercase.
Here is the error the editor prints.
'pilot join rescue |#|': Error type object, expected array.
Any help would be appreciated. To be unable to get a simple command like this to work is EXTREMELY frustrating! I really want to get this to work. Thanks in advance.
Shrapper