Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Anyone know how to.. (https://forums.graalonline.com/forums/showthread.php?t=65882)

myth-simba 05-07-2006 12:16 AM

Anyone know how to..
 
make a script that makes and object travel a certain direction at a speed and loop?

like the stars in space on zone or4 Maloria space warsevent. i making a spaceship where you go inside and fly to level to level ect. i need a good look inside the ship. stars going past windows ect.

Lord Sephiroth 05-07-2006 12:39 AM

Quote:

Originally Posted by myth-simba
make a script that makes and object travel a certain direction at a speed and loop?

like the stars in space on zone or4 Maloria space warsevent. i making a spaceship where you go inside and fly to level to level ect. i need a good look inside the ship. stars going past windows ect.

This would be best posted in NPC Scripting.

Tyhm 05-07-2006 09:14 AM

You mean like if(playerenters||timeout){ x=(x-1)%64; timeout=0.05; } ? Or something more complex?

ApothiX 05-08-2006 02:18 PM

x_x Make an attempt to make the script, and then ask for help. Don't ask people to write you full scripts.

For reference you may want to check out the 'move' command, and movementfinished event.


All times are GMT +2. The time now is 07:07 PM.

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