Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SignalsComponent.c
Go to the documentation of this file.
1 /*
2 ===========================================
3 Do not modify, this script is generated
4 ===========================================
5 */
6 
13 {
14 }
15 
16 class SignalsComponent: GameComponent
17 {
19  proto external void Update();
21  proto external int GetSignalInIndex(string name);
23  proto external int GetSignalOutIndex(string name);
25  proto external bool SetSignalInValue(int index, float value);
27  proto external float GetSignalInValue(int index);
29  proto external float GetSignalOutValue(int index);
30  proto external int GetSignalIns(out notnull array<string> ins);
31  proto external int GetSignalOuts(out notnull array<string> outs);
32 }
33 
SignalsComponentClass
Definition: SignalsComponent.c:12
GameComponentClass
Definition: GameComponentClass.c:7
GetSignalOutValue
proto external float GetSignalOutValue(int index)
Returns the value of a signal output.
SetSignalInValue
proto external bool SetSignalInValue(int index, float value)
Set the input value of a signal. Returns true if changed.
GetSignalOuts
proto external int GetSignalOuts(out notnull array< string > outs)
Update
SignalsComponentClass GameComponentClass Update()
Updates the internal state. Changes outputs based on inputs.
Definition: SCR_FuelConsumptionComponent.c:146
index
SCR_DestructionSynchronizationComponentClass ScriptComponentClass int index
Definition: SCR_DestructionSynchronizationComponent.c:17
GetSignalOutIndex
proto external int GetSignalOutIndex(string name)
Returns the index of a given signal output.
GetSignalInValue
proto external float GetSignalInValue(int index)
Returns the value of a signal input.
GetSignalInIndex
proto external int GetSignalInIndex(string name)
Returns the index of a given signal input.
GameComponent
Definition: GameComponent.c:12
GetSignalIns
proto external int GetSignalIns(out notnull array< string > ins)