Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-14-2002, 09:07 PM
screen_name screen_name is offline
is watching you
Join Date: Mar 2002
Location: The 3rd Dimension
Posts: 2,160
screen_name is on a distinguished road
Send a message via AIM to screen_name Send a message via MSN to screen_name
Quote:
Originally posted by SingleChance
Is that the move script somet like this
move 3,4,2,6;
Not quite shore but thats how u do movie scene's i used to do em like this
playerx=;sprite=0;
lol
lol, thats old school


the vecx and vecy are used in mostly movement scripts


NPC Code:

vecx vecy dir
0 -1 0
-1 0 1
0 1 2
1 0 3



when you move, then it basically does this
playerx+=vecx(playerdir);
playery+=vecy(playerdir);

so if you move up (dir 0), you will get 0 added to your x value, and -1 added to your y value
__________________
[signature]insert here[/signature]
Reply With Quote
Reply


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 02:50 PM.


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