ScriptEffect
From Amulets & Armor Wiki
Effect( [EffectNum], [Subtype], [Duration], [Power] )
Plays a sound to the current player at max volume
Arguments
EffectNum - Effect number to initiate
Subtype - Subtype of Effect (see below)
Duration - Length of Effect
Power - Power of Effect (see below)
Example
40: // lower gates Compare(ExitSwitch, COMPLETE); If (Equal, 99); Block(Block1); ChangeSideTexture(1208,"SWIT1U"); AreaSound(6007,-3424,-2736,300,255); Delay(100); //Earthquake Sound(3005); Effect(30, 0, 300, 0);
List of Effects
Creates an effect of the given type. Type is a number corresponding to the effect list
# | Name | Description | Subtype | Duration | Power |
---|---|---|---|---|---|
30 | EFFECT_TRIGGER_EARTHQUAKE | Shakes the ground for a specified number of ticks | N/A | Time in Ticks | N/A |
Back to Scripting Main