FANDOM


Map Editor: Triggers Edit

Triggers Edit

Triggers are the building blocks for scripting in Superfighters Deluxe.

Triggers can activate other connected triggers in chained events. Each trigger performs a single action and can trigger a custom script if needed. The custom script can do whatever is supported by the Superfighters Deluxe Script API_.

Trigger

Aera Trigger Edit

AreaTrigger: Listens for objects/players entering and leaving the area and activates targeted triggers and script on enter/leave.

AeraTrigger

Basic Trigger Properties:

Script Method TriggerArgs: - Caller: The calling AreaTrigger of type IObjectTrigger. - Sender: The activating object of type BaseObject. Can be null.

ActivateTrigger Edit

ActivateTrigger: Properties: - Highlight Object: Object to highlight when a player can activate the button trigger.  

Activate Trigger

Basic Trigger Properties: - Activate On Startup: Controls if the trigger should be activated on startup. Default false. - Activate Triggers: Activate selected triggers after this trigger has been activated. - Script Method: Name of the script method to run when this trigger is activated. - Trigger Enabled: If the trigger is enabled.  

Script Method TriggerArgs: - Caller: The calling ButtonTrigger of type IObjectTrigger. - Sender: The player activating the button of type IPlayer or the activating trigger of type IObjectTrigger. Can be null. 

Edit

Button00(Button Trigger) Edit

Button00:  

Button Trigger

Properties: - Delay: Delay before the button can be activated again.  

Basic Trigger Properties: - Activate On Startup: Controls if the trigger should be activated on startup. Default false. - Activate Triggers: Activate selected triggers after this trigger has been activated. - Script Method: Name of the script method to run when this trigger is activated. - Trigger Enabled: If the trigger is enabled.  

Script Method TriggerArgs: - Caller: The calling ButtonTrigger of type IObjectTrigger. - Sender: The player activating the button of type IPlayer or the activating trigger of type IObjectTrigger. Can be null. 

ChangeBodyTypeTrigger Edit

ChangeBodyTypeTrigger:Changes the body type of the targeted objects when activated.

ChangeBodyTypeTrigger

Basic Trigger Properties: - Activate On Startup: Controls if the trigger should be activated on startup. Default false. - Activate Triggers: Activate selected triggers after this trigger has been activated. - Script Method: Name of the script method to run when this trigger is activated. - Trigger Enabled: If the trigger is enabled.

Script Method TriggerArgs: - Caller: The calling ChangeBodyTypeTrigger of type IObjectTrigger. - Sender: The activating trigger of type IObjectTrigger. Can be null.

DestroyTrigger Edit

DestroyTrigger: Destroys the targeted objects when activated.

DestroyTrigger

Basic Trigger Properties: - Activate On Startup: Controls if the trigger should be activated on startup. Default false. - Activate Triggers: Activate selected triggers after this trigger has been activated. - Script Method: Name of the script method to run when this trigger is activated. - Trigger Enabled: If the trigger is enabled.

Script Method TriggerArgs: - Caller: The calling DestroyTrigger of type IObjectTrigger. - Sender: The activating trigger of type IObjectTrigger. Can be null.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.