Jump to content
Sign in to follow this  
Jazzadazza

Why arent my triggers/scripts working??

Recommended Posts

Hey guys, Im half way through making a mission for a COOP match and i cant get my scripts to work, ive done exactely the same thing in other missions and it has worked fine but for some reason its not this time.:confused:

Here is the mission file http://rapidshare.com/files/420969678/Why_isnt_this_working.zip

If someone could help me and let me know why its not working that would be great...

Thanks in advance

Jazzadazza

Share this post


Link to post
Share on other sites

Try this in the leaders init

Warg1 = group this;Warg1 setGroupID ["Warg"]

and in your script make it Warg1 not Warg 1

you will also need to define HQ, You could just place another unit miles away and in his init put

HQ = group this;HQ setGroupID ["HQ"] 

I'm not sure it's exactly what your after but it does work.

Are you using "showscripterrors" if not enable it by placing -showScriptErrors in the target line of the short cut.

One other thing [this] exec "start.sqs" would be used in an init but in a trigger this would need to be defined ie [leader warg1] exec "start.sqs"and the same for the other trigger, in this case as your not using this in the script it will actually work.

Edited by F2k Sel

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  

×