Please login or register.

Login with username, password and session length
Advanced search  

News:

This forum provides RSS feed. To query recent posts use this url. More...


Author Topic: Move waypoints  (Read 3756 times)

0 Members and 1 Guest are viewing this topic.

Krosad

  • Anate Studio
  • Occasional poster
  • **
  • Karma: 2
  • Offline Offline
  • Gender: Male
  • Posts: 97
  • anatestudio.com
    • View Profile
    • Anate Studio Web site
Move waypoints
« 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?
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Move waypoints
« Reply #1 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.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Krosad

  • Anate Studio
  • Occasional poster
  • **
  • Karma: 2
  • Offline Offline
  • Gender: Male
  • Posts: 97
  • anatestudio.com
    • View Profile
    • Anate Studio Web site
Re: Move waypoints
« Reply #2 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?
« Last Edit: December 14, 2012, 01:12:15 PM by Krosad »
Logged
 

Page created in 0.071 seconds with 20 queries.