Wintermute Engine Forum

Wintermute Engine => Technical forum => Topic started by: Krosad on October 22, 2012, 12:45:14 PM

Title: Move waypoints
Post by: Krosad on October 22, 2012, 12:45:14 PM
In my game i have a moving platform with region on it that has script:

Code: [Select]
while(true){

this.SkipTo(platform.X, platform.Y);

  Sleep(1);}

This region has a complex shape and it needs waypoints.
How to move waypoints with a platform and region?
Title: Re: Move waypoints
Post by: Mnemonic on November 23, 2012, 09:09:39 AM
There's no way of moving waypoints currently. You'll need to create multiple waypoint groups and enable/disable them using the .Active property.
Title: Re: Move waypoints
Post by: Krosad on December 14, 2012, 11:13:07 AM
region has a complex shape and platform will take any position. So i can't use the .Active property.

Whether there is a procedure to create and move one waypoint? And how to move region?