ID:175501
 
i am making a game where you need to be able to hit a button, say 5 on the num pad and have the person jummp 1 space skipping the its right in front of. i can make the person have 0 density but how can i attach that to a num key and make it last for on 1 time?
Youll have to change the proc, and 5 on the numpad calls center().
Starwarspower wrote:
i am making a game where you need to be able to hit a button, say 5 on the num pad and have the person jummp 1 space skipping the its right in front of. i can make the person have 0 density but how can i attach that to a num key and make it last for on 1 time?

The arrows, and keypad keys are attached to the following client procedures;
Up/8 - North()
PgUp/9 - Northeast()
Right/6 - East()
PgDn/3 - Southeast()
Down/2 - South()
End/1 - Southwest()
Left/4 - West()
Home/7 - Northwest()
5 - Center()


So, for example, if you wanted to make '5' send a message to the world, you'd do this;
client/Center()
world << "[mob] pressed 5!"


~>Volte
yes thx but how can i code it to jump 1 space forward?
In response to Starwarspower
Look up step()
In response to Garthor
where?
In response to Starwarspower
The reference. Open DM (Dream Maker) and push 'F1'