Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-02-2005, 02:32 AM
Arnack Arnack is offline
Kojiro Chang
Arnack's Avatar
Join Date: Oct 2004
Posts: 154
Arnack is on a distinguished road
Sliding Script?

I was wondering how you do A sliding script (like a 'slide down' script)
for a slide (duh)
Thanks,
Arnack
__________________
I support the 2k1 Revision!

|AIM| ghettoghuy1337
|MSN| [email protected]
|Email| [email protected]
Reply With Quote
  #2  
Old 08-02-2005, 05:41 PM
Bl0nkt Bl0nkt is offline
Era Developer
Bl0nkt's Avatar
Join Date: Mar 2005
Location: Pennsylvania
Posts: 1,589
Bl0nkt will become famous soon enough
Send a message via AIM to Bl0nkt
Quote:
Originally Posted by Arnack
I was wondering how you do A sliding script (like a 'slide down' script)
for a slide (duh)
Thanks,
Arnack
Do you know how to use the 'for(blah;blah;blah)' command?

Create a setshape at the top of the slide that sets your direction to down and applies a sit gani. Then, use the 'for' command describing where you will start to slide and where you will stop.

Hint:
for (i=Y OF THE TOP OF THE SLIDE;i>Y OF THE BOTTOM OF THE SLIDE;i--)

This is telling you that:

i=Y OF THE TOP OF THE SLIDE - Say the top of the slide is at y 30.
i-- - the value of i will keep decreasing while i>Y OF THE BOTTOM OF THE SLIDE is true.

So, playery = i;

The playery will go to whatever the value of i is (shown in the 'for' command) until it hits the bottom of the slide and stops.
Reply With Quote
  #3  
Old 08-02-2005, 05:52 PM
Arnack Arnack is offline
Kojiro Chang
Arnack's Avatar
Join Date: Oct 2004
Posts: 154
Arnack is on a distinguished road
Oh, ok!
Thanks
__________________
I support the 2k1 Revision!

|AIM| ghettoghuy1337
|MSN| [email protected]
|Email| [email protected]
Reply With Quote
  #4  
Old 08-02-2005, 09:33 PM
Velox Cruentus Velox Cruentus is offline
Registered User
Velox Cruentus's Avatar
Join Date: Dec 2004
Location: Quebec, Canada
Posts: 465
Velox Cruentus is on a distinguished road
Send a message via ICQ to Velox Cruentus Send a message via AIM to Velox Cruentus
Or use the move command...
__________________
In a world of change... Who'll you believe?
Reply With Quote
  #5  
Old 08-02-2005, 09:48 PM
Bl0nkt Bl0nkt is offline
Era Developer
Bl0nkt's Avatar
Join Date: Mar 2005
Location: Pennsylvania
Posts: 1,589
Bl0nkt will become famous soon enough
Send a message via AIM to Bl0nkt
Quote:
Originally Posted by Velox Cruentus
Or use the move command...
That's a new one. Explain.
Reply With Quote
  #6  
Old 08-02-2005, 09:56 PM
Lance Lance is offline
dark overlord
Lance's Avatar
Join Date: Sep 2003
Location: Space Jam Mountain
Posts: 5,072
Lance is on a distinguished road
Quote:
Originally Posted by Velox Cruentus
Or use the move command...
Or read the thread.

You know, whichever.
Reply With Quote
  #7  
Old 08-02-2005, 10:29 PM
Bl0nkt Bl0nkt is offline
Era Developer
Bl0nkt's Avatar
Join Date: Mar 2005
Location: Pennsylvania
Posts: 1,589
Bl0nkt will become famous soon enough
Send a message via AIM to Bl0nkt
Quote:
Originally Posted by Arnack
Oh, ok!
Thanks
If you don't understand just tell me. I'll explain it the best I could.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 06:52 PM.


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