Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | List of all members
SignalsComponent Interface Reference
Inheritance diagram for SignalsComponent:
[legend]

Public Member Functions

proto external void Update ()
 Updates the internal state. Changes outputs based on inputs.
 
proto external int GetSignalInIndex (string name)
 Returns the index of a given signal input.
 
proto external int GetSignalOutIndex (string name)
 Returns the index of a given signal output.
 
proto external bool SetSignalInValue (int index, float value)
 Set the input value of a signal. Returns true if changed.
 
proto external float GetSignalInValue (int index)
 Returns the value of a signal input.
 
proto external float GetSignalOutValue (int index)
 Returns the value of a signal output.
 
proto external int GetSignalIns (out notnull array< string > ins)
 
proto external int GetSignalOuts (out notnull array< string > outs)
 
- Public Member Functions inherited from GameComponent
bool OnTicksOnRemoteProxy ()
 

Member Function Documentation

◆ GetSignalInIndex()

proto external int SignalsComponent.GetSignalInIndex ( string  name)

Returns the index of a given signal input.

◆ GetSignalIns()

proto external int SignalsComponent.GetSignalIns ( out notnull array< string >  ins)

◆ GetSignalInValue()

proto external float SignalsComponent.GetSignalInValue ( int  index)

Returns the value of a signal input.

◆ GetSignalOutIndex()

proto external int SignalsComponent.GetSignalOutIndex ( string  name)

Returns the index of a given signal output.

◆ GetSignalOuts()

proto external int SignalsComponent.GetSignalOuts ( out notnull array< string >  outs)

◆ GetSignalOutValue()

proto external float SignalsComponent.GetSignalOutValue ( int  index)

Returns the value of a signal output.

◆ SetSignalInValue()

proto external bool SignalsComponent.SetSignalInValue ( int  index,
float  value 
)

Set the input value of a signal. Returns true if changed.

◆ Update()

proto external void SignalsComponent.Update ( )

Updates the internal state. Changes outputs based on inputs.


The documentation for this interface was generated from the following file: