Thread: Skateboard npc
View Single Post
  #6  
Old 02-20-2002, 08:20 AM
mikepg mikepg is offline
Registered User
Join Date: Nov 2001
Location: VA, USA
Posts: 501
mikepg is on a distinguished road
Send a message via AIM to mikepg Send a message via Yahoo to mikepg
Re: Skateboard npc

Quote:
Originally posted by relenakat
How do you make the skateboard make the player faster and how do you equip it for like the ani stuff?
Maybe it's Unixmad playing a cruel joke on kondidias (sp), lol. Anyways...


Try using playerx and playery values....correspoding with the players direction (0-up 1-left 2-down 3-right).

Like

if (playerdir=0) {playery-=1;
}

Since you are facing up
and the grid of graal looks like this:
0....64 (x)
.
.
64
(y)
you want to subtract (so the player goes up faster)
__________________
~War Lord Mpg2
Bravo Online's Asst. Staff Manager

"Sittin by the tree, sippin eggnog, waitin on christmas gifts"