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;
32 super.InitCatchingComponent();
41 return IsSurfaceWater( position );
46 if ( !attachment.IsInherited( Worm ) )
49 return super.CanReceiveAttachment( attachment, slotId );
52 #ifdef PLATFORM_WINDOWS
54 override int GetViewIndex()
56 if ( MemoryPointExists(
"invView2" ) )
59 GetInventory().GetCurrentInventoryLocation( il );
112 return "placeFishNetTrap_SoundSet";
117 return "fishnet_deploy_SoundSet";
121class 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)