5 super.InitTrapValues();
9 m_InitWaitTimeMin = 120;
10 m_InitWaitTimeMax = 180;
11 m_UpdateWaitTime = 30;
12 m_SpawnUpdateWaitTime = 30;
13 m_MaxActiveTime = 1200;
16 m_MinimalDistanceFromPlayersToCatch = 15;
20 m_AnimationPhaseUsed =
"triggered";
25 if (!m_CatchingContext)
27 int updateCount = m_MaxActiveTime/m_UpdateWaitTime;
39 return IsSurfaceWater( position );
44 if ( !attachment.IsInherited( Worm ) )
47 return super.CanReceiveAttachment( attachment, slotId );
50 #ifdef PLATFORM_WINDOWS
52 override int GetViewIndex()
54 if ( MemoryPointExists(
"invView2" ) )
57 GetInventory().GetCurrentInventoryLocation( il );
110 return "placeFishNetTrap_SoundSet";
115 return "fishnet_deploy_SoundSet";
119class FishNetTrap
extends Trap_FishNet
InventoryLocationType
types of Inventory Location
string m_AnimationPhaseTriggered
string m_AnimationPhaseSet
proto native int GetType()
returns type of InventoryLocation
override string GetLoopDeploySoundset()
override void InitTrapValues()
override bool CanReceiveAttachment(EntityAI attachment, int slotId)
override void InitCatchingComponent()
override bool IsDeployable()
override string GetDeploySoundset()
override bool IsPlaceableAtPosition(vector position)