Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_WBAfterWorldUpdateTest.c
Go to the documentation of this file.
1[ComponentEditorProps(category: "GameScripted/Debug", description: "debug")]
5
7{
8 //------------------------------------------------------------------------------------------------
9 // constructor
14 {
15 ent.SetFlags(EntityFlags.ACTIVE, false);
16 }
17
18 #ifdef WORKBENCH
19 override int _WB_GetAfterWorldUpdateSpecs(IEntity owner, IEntitySource src)
20 {
21 return EEntityFrameUpdateSpecs.CALL_WHEN_ENTITY_VISIBLE;
22 }
23 //------------------------------------------------------------------------------------------------
24 override void _WB_AfterWorldUpdate(IEntity owner, float timeSlice)
25 {
26 if (!owner)
27 Print("Owner is NULL!!!");
28 else
29 Print(owner);
30 }
31 #endif
32}
enum EAIGroupCombatMode ComponentEditorProps(category:"GameScripted/AI", description:"Component for utility AI system for groups")
SCR_WBAfterWorldUpdateTestClass ScriptComponentClass SCR_WBAfterWorldUpdateTest(IEntityComponentSource src, IEntity ent, IEntity parent)
enum EVehicleType IEntity
event int _WB_GetAfterWorldUpdateSpecs(IEntity owner, IEntitySource src)
Called after _WB_OnInit or also later when editor needs to know whether _WB_AfterWorldUpdate needs to...
event void _WB_AfterWorldUpdate(IEntity owner, float timeSlice)
Called after updating world in Workbench. The entity must be selected. You can use editor API here an...
proto external EntityFlags SetFlags(EntityFlags flags, bool recursively=false)
proto void Print(void var, LogLevel level=LogLevel.NORMAL)
Prints content of variable to console/log.
EntityFlags
Various entity flags.
Definition EntityFlags.c:14