Skip to content
Krzmbrzl edited this page Mar 27, 2017 · 8 revisions

Events

Engine/Script Triggered

Name Arguments Informations
missionStarted None Code gets executed immediately when missionStarted has already fired.
entityCreated New Object
playerChanged 0: New Player Object
1: Old Player Object (objNull if it doesn't exist)
playerInventoryChanged None
visibleMapChanged Map Visible Bool
playerSideChanged 0: New Player Side
1: Old Player Side
cursorTargetChanged cursorTarget Object
cursorObjectChanged cursorObject Object
groupUnitsChanged Array of Units in current players Group Array<Objects>
playerJoined Joined Player Object
currentThrowableChanged 0: New currentThrowable
1: Old currentThrowable
currentWeaponChanged 0: New currentWeapon
1: Old currentWeapon
vehicleChanged 0: New Vehicle
1: Old Vehicle
assignedVehicleRoleChanged 0: New assignedVehicleRole
1: Old assignedVehicleRole
sideChanged 0: New Side
1: Old Side
groupChanged 0: New Group
1: Old Group
leaderChanged 0: New Leader Object
1: Old Leader Object
getConnectedUAVChanged 0: New UAV Object
1: Old UAV Object
currentVisionModeChanged 0: New VisionMode
1: Old VisionMode
InventoryOpened Vanilla InventoryOpen Arguments
Killed Vanilla Killed Arguments
Respawn Vanilla Respawn Arguments
AnimStateChanged Vanilla AnimStateChanged Arguments
DrawMapGraphics None Require the MapGraphics Module

User Triggerable

Name Arguments Description
hideObject 0: Object that should get un/hidden
1: Bool Status of hiding
Event should get executed as a serverEvent
enableSimulation 0: Object whose simulation should be toggled
1: Bool Status of simulation
Event should get executed as a serverEvent
assignCurator 0: Player Object
1: Curator Object
Event should get executed as a serverEvent
unassignCurator Curator Object Event should get executed as a serverEvent
addCuratorEditableObjects 0: Curator Object
1: [objects, addCrew]
Event should get executed as a serverEvent
fixFloating Object for Fixfloating Event should get executed where the object is local
playMove 0: Object that plays the Move
1: Move to play as String
Event should get executed where the object is local
playMoveNow 0: Object that plays the Move
1: Move to play as String
Event should get executed where the object is local
switchMove 0: Object that play the Move
1: Move to play as String
setVectorUp 0: Object
1: Vector
Event should get executed where the object is local
allowDamage 0: Object
1: Status as Bool
Event should get executed where the object is local
setFuel 0: Object
1: Value of Fuel as Number
Event should get executed where the object is local
removeMagazineTurret 0: Object
1: Args
Event should get executed where the object is local
addMagazineTurret 0: Object
1: Args
Event should get executed where the object is local
deleteGroup Group Event should get executed where the object is local
selectLeader 0: Group
1: New Leader Object
Event should get executed where the group is local
setMimic 0: Unit Object
1: Mimic as String
setVehicleVarName 0: Object 1: Vehicle name as String
Clone this wiki locally