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 10-21-2001, 12:53 PM
spi spi is offline
mmm cookies..
spi's Avatar
Join Date: May 2001
Location: NOT CANADA
Posts: 2,769
spi is on a distinguished road
Send a message via AIM to spi Send a message via Yahoo to spi
sliding doors.

I need a sliding door script that slides over 3 tiles left. And another that slides over 3 tiles right.

I believe there was one like
NPC Code:
f (housegateopen) {
set gateisopen;
play stonemove.wav;
for (i=0; i<64; i++) {
x += 1/16;
sleep 0.05;
}
}



but i can't figure out how to get that to move exactly 3 tiles. :|
(I want the stonemove.wav to play in it, too.)
Thanks.
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 03:18 AM.


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