Difference between revisions of "ScriptSlideFloorNice"
From Amulets & Armor Wiki
PeeWeeRotA (Talk | contribs) (→Arguments) |
PeeWeeRotA (Talk | contribs) |
||
Line 24: | Line 24: | ||
End() | End() | ||
</nowiki> | </nowiki> | ||
+ | |||
+ | |||
+ | ---- | ||
+ | Back to [[Scripting]] Main Page |
Latest revision as of 21:30, 17 October 2016
SlideFloorNice( [SectorNum], [Start], [End], [Time], [NextScript])
Moves a floor up or down over a period of time and calls the NextScript number when finished.
Arguments
SectorNum - The sector to move.
Start - Height to start from when moving. (set to same as end for instant movement)
End - Height to finish at.
Time - Time it takes to finish moving.
NextScript - Script number to run when finished. Set to -1 if none.
Example
40: // raise exit floor ChangeSideTexture(1372,"SWIT1U"); AreaSound(6007,-2528,110,300,255); SlideFloorNice(114, -400, -64, 100, -1); End()
Back to Scripting Main Page