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
  #1  
Old 04-10-2004, 01:44 AM
greeno greeno is offline
Registered User
Join Date: Oct 2001
Location: U.S.A.
Posts: 116
greeno is on a distinguished road
Send a message via AIM to greeno
Gravity....

Hello, I am making a gravity room for my guild house and I was wondering why my script makes people go through objects.... basically I have it make the playery subtract one every .05 seconds, and if the up arrow is pushed, then they go up, but for some reason it makes them go through tiles... I remember doing this with an older version of graal and it worked fine. Did stefan/unixmad change that in a later release?

And I would like to know if anyone can help me
this is my code....

// NPC made by Stipo Swift -Leader- (Turtles)
if (created) {
falling = true;
}

while (falling==true)
{
playery = playery + 1;
sleep .05;
if (keydown(A))
{
playery = playery - 2;
if (playery > 60)
{
playery = playery - 2;
}
}
}

any suggestions?
__________________
-Stipo Swift-
"My Cat likes string cheese"
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 05:11 AM.


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