Game Nodes

CheckPlatform

Use this node to change game events depending on what platform you are running the game on.

In the above example, we have setup a script that checks which platform the game is running on, then it will enable the appropriate entities.

So PC will enable all four entities, the Xbox360 will enable the first three and then the PS3 will enable the first two entities.

DifficultyLevel

The Game:DifficultyLevel node outputs on one of the output ports depending on which difficulty is currently set.

At the start of the level the DifficultyLevel node is triggered using a Start node. If the difficulty is set to easy, the enemy 'Grunt1' will be spawned.

For each higher difficulty setting up to delta, one additional enemy will be spawned.

EventListener

The highest level of alertness of any agent in the level.

FireSystemEvent

Fires system event.

ForceFeedback

FlowNode to play/stop force feedback effects.

ForceFeedbackTriggerTweaker

FlowNode to control force feedback effect on left and right triggers.

ForceFeedbackTweaker

FlowNode to control individual high and low frequency force feedback effect.

GetEntityState

Get current state of an entity.

GetGameRulesEntityId

Calls a script function on the entity.

GetSupportedGameRulesForMap

Get supported gamerules for a map.

GiveAchievement

Triggers an achievement/trophy for the local player.

IsDemo

Outputs whether the game is playing in demo mode or not..

IsLevelOfType

Check if a level is of given type.

IsZoomToggling

Checks whether zoom toggling is enabled or disabled.

MP:SetEquipmentLoadout

MP only: set an equipmentloadout for the local player.

ObjectEvent

Broadcast a game object event or send to a specific entity. EventParam is an event specific string.

RoundTrigger

Game Round Triggers.

SaveGame

SaveGame for Autosave.

SetPostEffectParam

Sets post effect param by name.

Start

Fires on the start of the game, used to trigger flowgraphs on level start.

TutorialPlayerSP

Manages the player profile tutorial flag (SINGLE PLAYER).

WeaponSensor

Tracks the attached Entity and its Vehicle-related actions.

Deprecated Nodes

  • Game:ActorCheckHealth (now Actor:HealthCheck)
  • Game:ActorGetHealth (now Actor:HealthGet)
  • Game:ActorSensor (now Actor:Sensor)
  • Game:ActorSetHealth (now Actor:HealthSet)
  • Game:DamageActor (now Actor:Damage)
  • Game:DisplayTag (now Debug:DisplayTag)
  • Game:DisplayTagAdv (now Debug:DisplayTagAdv)
  • Game:LocalPlayer (now Actor:LocalPlayer)
  • Game:PlayerLink (now Actor:PlayerLink)
  • Game:SetVehicleAltitudeLimit (deprecated, use v_altitudeLimit CVar)