Jump to content
Sign in to follow this  
bvrettski

Moving a trigger?

Recommended Posts

Is there a way to move a trigger by giving them waypoints? or move a null (empty) object around with waypoints with a trigger attached?

Share this post


Link to post
Share on other sites

Thanks....but no way to do this via the editor. I'm a complete novice at making missions and definitely not a coder..yet.

Share this post


Link to post
Share on other sites

No worries! This will attach the trigger to the object so it "follows" it around.

Paste this into the init field of the unit in the editor:

triggerName attachTo [this, [0,0,0]];

Then open the trigger in question, and type this into it's Name: field:

triggerName

Scripting in the editor, tada! :) Don't be afraid of it, it can do great things.

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  

×