FXCreate
This function is used to create an effect.
call FXCreate(ID, X, Y, Xsp, Ysp, Frames, AnimationSpeed, Const, Gravity, Advanced)
| Parameters
|
Description
|
| ID
|
The effect-ID of the effect to create.
|
| X
|
The X-scene coordinate where the effect will be created.
|
| Y
|
The Y-scene coordinate where the effect will be created.
|
| Xsp
|
The X-speed of the effect.
|
| Ysp
|
The Y-speed of the effect.
|
| Frames
|
The number of frames the effect should last.
|
| AnimationSpeed
|
The number of frames each animation frame will last.
|
| Const
|
UNKNOWN, default 0
|
| Gravity
|
Should the effect be affected by Gravity?
|
| Advanced
|
UNKNOWN, default 0
|
LMove
This function is used to move layers.
call LMove(LayerName, Xsp, Ysp, Type)
| Parameters
|
Description
|
| LayerName
|
The name of the layer that you want to move.
|
| Xsp
|
The X-distance the layer should move.
|
| Ysp
|
The Y-distance the layer should move.
|
| Type
|
The type of layer movement that should be used.
- 0: Use speed movement. (The layer will move with the given direction)
- 1: Use shift movement. (The layer will warp with the given direction)
|
LSet
This function is used to change the visibility of a layer
LSet(LayerName, Type, Smoke)
| Parameters
|
Description
|
| LayerName
|
The name of the layer that you want to move.
|
| Type
|
The type of layer visibility.
- 1: Show
- 2: Hide
- 3: Toggle
- 38: Alpha Value
|
| Smoke
|
Should there be smoke?
If the type is set to 38, then this value is to set the alpha value. This value is between 0-255.
|
LSpin
This function is used to rotate layers. This function only affect NPCs and Blocks.
call LSpin(LayerName, Xcenter, Ycenter, Speed)
| Parameters
|
Description
|
| LayerName
|
The name of the layer that you want to move.
|
| Xcenter
|
The X-scene coordinate of the center of the circle.
|
| Ycenter
|
The Y-scene coordinate of the center of the circle.
|
| Speed
|
The anglar speed [INSERT BETTER DESC.]
|
ShowMsg
This function shows a message using a message box.
| Parameters
|
Description
|
| Message
|
The message that will be shown. It must be a string.
|