Jump to content
Sign in to follow this  
meatball

Move Trigger Location through Script?

Recommended Posts

I've been digging, but don't see any way to do this. Is there any way to take a trigger created in the editor, and then using script move it to a new location (a marker or object) in script later in a mission?

Share this post


Link to post
Share on other sites

Couldn't you just name the trigger (i.e. trigger1) in the name field and a marker named Marker 1, then do something like this:

trigger1 setpos (getMarkerpos "Marker1");

Share this post


Link to post
Share on other sites

Dagnabbit, I tried that and it didn't work, but I must have had something wrong. That looks like it's working now.

Thanks!

Share this post


Link to post
Share on other sites
Dagnabbit, I tried that and it didn't work, but I must have had something wrong. That looks like it's working now.

Thanks!

No problem, glad to help, I've had the same situation before too ;).

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  

×