Welcome, Guest. Please login or register.
Kingdoms of Ahln
Pages: [1]
  Print  
Author Topic: Some questions.  (Read 426 times)
Saffire
Citizen
***
Posts: 136


View Profile
« on: November 16, 2008, 03:15:52 pm »

By setting an action to move, an object will react when a character enters the room that the object is in, but how do I set it to perform an action when a character leaves the room in a certain direction? Also, is there a way to stop the player's movement when that reaction fires?
Logged
Justin
Administrator
Citizen
*****
Posts: 189



View Profile
« Reply #1 on: November 16, 2008, 06:56:21 pm »

The move event is sent to both the start room and the destination room. To differentiate between them, you can check what room the character is currently in. If they are in the room, it is the destination.

Stopping the movement via a reaction is not currently possible, but definitely something I'll have to think about.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.15 | SMF © 2006-2009, Simple Machines
Terra97 design by Bloc