Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_DebugShapeHelperComponent.c File Reference

Go to the source code of this file.

Classes

class  SCR_DebugShapeHelperComponentClass

Functions

SCR_DebugShapeHelperComponentClass ScriptComponentClass Attribute (desc:"Limit amount of shapes drawn per tag. Older shapes get thrown out of draw list.", defvalue:"10000", category:"Limits", params:"0 inf")
void OnPostInit (IEntity owner)
 Editable Mine.
override void OnDelete (IEntity owner)
override void _WB_OnInit (IEntity owner, inout vector mat[4], IEntitySource src)
override bool _WB_OnKeyChanged (IEntity owner, BaseContainer src, string key, BaseContainerList ownerContainers, IEntity parent)
 Any property value has been changed. You can use editor API here and do some additional edit actions which will be part of the same "key changed" action.

Function Documentation

◆ _WB_OnInit()

override void _WB_OnInit ( IEntity owner,
inout vector mat[4],
IEntitySource src )
protected

Saves instance so that debug shapes can be viewed in Workbench.

Parameters
[in]ownerThe owner represents the entity that initializes the script.
[in,out]matMat is a 4x4 matrix representing the world space transformation for the entity.
[in]srcSource entity providing initialization data for the component.

Definition at line 389 of file SCR_DebugShapeHelperComponent.c.

◆ _WB_OnKeyChanged()

override bool _WB_OnKeyChanged ( IEntity owner,
BaseContainer src,
string key,
BaseContainerList ownerContainers,
IEntity parent )
protected

Any property value has been changed. You can use editor API here and do some additional edit actions which will be part of the same "key changed" action.

Definition at line 396 of file SCR_DebugShapeHelperComponent.c.

◆ Attribute()

SCR_DebugShapeHelperComponentClass ScriptComponentClass Attribute ( desc:"Limit amount of shapes drawn per tag. Older shapes get thrown out of draw list." ,
defvalue:"10000" ,
category:"Limits" ,
params:"0 inf"  )

Definition at line 1 of file SCR_DebugShapeHelperComponent.c.

◆ OnDelete()

override void OnDelete ( IEntity owner)
protected

Called when Entity is being to be destroyed (deleted) or component to be deleted (see Game::DeleteScriptComponent). param[in] owner Entity which owns the component

Definition at line 378 of file SCR_DebugShapeHelperComponent.c.