CScriptEntityOutputs
6 own methods
!Used to access entity output data
Methods
callable on a CScriptEntityOutputs script handle| Script Function | Returns | Parameters | Description |
|---|---|---|---|
| AddOutput | void | hscript, cstring, cstring, cstring, cstring, float, int | Arguments: ( entity, outputName, targetName, inputName, parameter, delay, timesToFire ) - add a new output to the entity |
| GetNumElements | int | hscript, cstring | Arguments: ( entity, outputName ) - returns the number of array elements |
| GetOutputTable | void | hscript, cstring, hscript, int | Arguments: ( entity, outputName, table, arrayElement ) - returns a table of output information |
| HasAction | bool | hscript, cstring | Arguments: ( entity, outputName ) - returns true if an action exists for the output |
| HasOutput | bool | hscript, cstring | Arguments: ( entity, outputName ) - returns true if the output exists |
| RemoveOutput | void | hscript, cstring, cstring, cstring, cstring | Arguments: ( entity, outputName, targetName, inputName, parameter ) - remove an output from the entity |