Welcome to PenUltima Online. Click to login or register.

Functions:

PlayStationaryEffect( x, y, z, effect, speed, loop := 0, explode := 0, realm := _DEFAULT_REALM )
Parameters:
Name Type
x,y,z Integer world coordinates
realm String - case-sensitive name of the realm
effect integer
speed integer (to 255)
loop integer (to 255)
explode integer (to 255)
Explanation
Starts a stationary graphic effect at x,y,z.
Notes: "effect" is a UO graphic number (the first graphic in a series for an animated effect) "speed" controls the time between frames of animation "loop" controls the number of total frames to play in the animation (loops if greater than the length of the animation). 0 = play once. "explode" flags if an explosion effect should be played at the end of the animation
Return values
1 on success
Errors
"Invalid parameter"
"Realm not found"
"Invalid Coordinates for Realm"