Jump to content
Sign in to follow this  
thetrooper

Set new Scene in game

Recommended Posts

Not really too sure what to call it, but When a trigger is hit I get the screen to black in. I'm going to change the time so it switches to night time, but I want to position my units to a different location to carry on the mission (kind of like a time warp forward) any ideas how I would do that?

Share this post


Link to post
Share on other sites

Simple.

For units that need to be moved to a different location you can use

UnitName setPos getMarkerPos "MarkerName";

So the units need to be named obviously then markers placed and named to where you want the units to be moved to.

To choose what time you also want to be changed to use this

skiptime ((23.36 - daytime + 24) % 24);

Just change the time to whatever time you want it to be, and have these commands run while the screens blanked out.

There's also other ways to set down to the exact meter distance from objects and modle to world and other things, but placed markers are good for what I need them for.

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  

×