27 if( !super.CanPutIntoHands( parent ) )
41 super.OnVariablesSynchronized();
83 this.ShowSelection(
"inventory" );
84 this.HideSelection(
"placing" );
85 this.HideSelection(
"filled" );
95 DecreaseHealth(
"",
"", fold_damage );
101 this.HideSelection(
"inventory" );
102 this.ShowSelection(
"placing" );
103 this.HideSelection(
"filled" );
110 SetAllowDamage(
true);
113 DecreaseHealth(
"",
"", unfold_damage );
119 super.EEItemLocationChanged (oldLoc, newLoc);
126 super.RefreshPhysics();
128 if (
this && !ToDelete() )
130 RemoveProxyPhysics(
"inventory" );
131 RemoveProxyPhysics(
"placing" );
132 RemoveProxyPhysics(
"filled" );
140 AddProxyPhysics(
"placing" );
145 AddProxyPhysics(
"inventory" );
149 AddProxyPhysics(
"filled" );
157 this.HideSelection(
"inventory" );
158 this.HideSelection(
"placing" );
159 this.ShowSelection(
"filled" );
167 DecreaseHealth(
"",
"", 5 );
168 SetAllowDamage(
false);
174 super.OnStoreSave(ctx);
182 if ( !super.OnStoreLoad(ctx, version) )
187 if ( !ctx.
Read(state) )
217 super.OnPlacementComplete( player, position, orientation );
232 return "placeHescoBox_SoundSet";
237 return "hescobox_deploy_SoundSet";
PlaceObjectActionReciveData ActionReciveData ActionDeployObject()
void AddAction(typename actionName)
bool IsSurfaceDigable(string surface)
Checks if the surface is digable.
proto float SurfaceGetType(float x, float z, out string type)
Returns: Y position the surface was found.
Wrapper class for managing sound through SEffectManager.
override bool HasProxyParts()
bool CanBeFilledAtPosition(vector position)
static const int PERCENTUAL_DAMAGE
void PlayDeployLoopSound()
override void OnPlacementComplete(Man player, vector position="0 0 0", vector orientation="0 0 0")
void StopDeployLoopSound()
DEPRECATED.
override bool IsDeployable()
ref EffectSound m_DeployLoopSound
DEPRECATED.
override bool OnStoreLoad(ParamsReadContext ctx, int version)
override bool CanPutIntoHands(EntityAI parent)
static const int UNFOLDED
override void RefreshPhysics()
override void OnVariablesSynchronized()
override void OnStoreSave(ParamsWriteContext ctx)
override string GetDeploySoundset()
override void SetActions()
override string GetLoopDeploySoundset()
override void EEItemLocationChanged(notnull InventoryLocation oldLoc, notnull InventoryLocation newLoc)
proto bool Write(void value_out)
proto bool Read(void value_in)
Serializer ParamsReadContext
proto native CGame GetGame()
Serializer ParamsWriteContext