9 override void CreateConditionComponents()
15 override bool IsUsingProxies()
22 Object targetObject = target.GetObject();
23 Object targetParent = target.GetParent();
25 if ( player && targetObject && targetParent )
27 if ( targetParent.IsInherited(
TentBase) )
30 targetObject.GetActionComponentNameList(target.GetComponentIndex(), selections);
33 for (
int s = 0; s < selections.Count(); s++)
35 if ( tent.CanToggleAnimations(selections[s]) )
47 override void OnExecuteServer(
ActionData action_data )
49 Object targetObject = action_data.m_Target.GetObject();
50 Object targetParent = action_data.m_Target.GetParent();
52 if ( targetParent && targetParent.IsInherited(
TentBase) )
55 targetObject.GetActionComponentNameList(action_data.m_Target.GetComponentIndex(), selections);
58 for (
int s = 0; s < selections.Count(); s++)
60 if ( tent.CanToggleAnimations(selections[s]) )
62 tent.ToggleAnimation( selections[s] );
67 tent.SetAffectPathgraph(
true,
false );
69 if ( tent.CanAffectPathgraph() )
72 tent.RegenerateNavmesh();
77 override void OnEndServer(
ActionData action_data )
79 Object target_object = action_data.m_Target.GetObject();
83 ntarget.SoundSynchRemoteReset();