Hello Guest, please login or register.
Did you miss your activation email?
Login with username, password and session length.

Pages: [1]   Go Down

Author Topic: Room Movement  (Read 758 times)

0 Members and 1 Guest are viewing this topic.

KazeKasano

Room Movement
« on: April 30, 2008, 09:44:43 pm »
I am having a problem getting Link to move into a new room and show up at the right place.
objLink is persistent, and when I go to a new room, how do I change him to the correct placement (such as in front of the door)?
Logged

Xiphirx

wat
Re: Room Movement
« Reply #1 on: May 01, 2008, 01:50:55 am »
  • Xiphirx
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 3007
have a script that runs constantly to check when you moved into a new room
then use a switch to trigger the right event
the event has the simple code of objlink.x = whatever and objlink.y = whatever

do you need more details?
Logged
  • For The Swarm

KazeKasano

Re: Room Movement
« Reply #2 on: May 01, 2008, 10:09:46 pm »
No, it's all right. I found out that part of the hearts engine was screwing him up.
When I started each room, he needed to be at his starting position after he died, but that didn't work quite right, and made him do it before he died.

Now, everything runs fine, and I might start a WIP thread soon...
Logged
Pages: [1]   Go Up

 


Contact Us | Legal | Advertise Here
2013 © ZFGC, All Rights Reserved



Page created in 0.074 seconds with 44 queries.

anything