Entity ActivateOutput

From CryWiki

Jump to: navigation, search

entity:ActivateOutput(string, value)

Description

Broadcasts info to an entity's flowgraph output port.

Arguments

  1. Output port name
  2. Value to be sent to the port


Example

Lua (example)
self:ActivateOutput("Used", true); -- see creating an entity tutorial @ crymod.com for more info


Notes

More info on using flowgraph ports in a custom entity: Creating a new entity tutorial

Personal tools