Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 06-02-2005, 07:50 PM
CaTigus CaTigus is offline
Scripter
Join Date: Oct 2002
Posts: 80
CaTigus is on a distinguished road
Quote:
Originally Posted by Evil_Trunks
playerx = value;
playery = value;

you modify the player coordinates directly

you want to do this in a timeout loop, your code is not correct since keydown is not an event, but a condition

keydown(up) is incorrect, you want to use a number 0 through 3, each number represents a direction

0 up
1 right
2 down
3 left


Err.....0 is up, 1 is left, 2 is down, and 3 is right.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 08:05 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.