11 m_MinimalDistanceFromPlayersToCatch = 15;
14 m_NoBaitCatchProb = 15;
18 m_AnimationPhaseUsed =
"triggered";
20 m_WaterSurfaceForSetup =
true;
23 m_CatchesPond.Insert(
"Carp", 1);
26 m_CatchesSea.Insert(
"Mackerel", 1);
31 super.OnVariablesSynchronized();
52 if (
GetGame().SurfaceIsSea(pos[0], pos[2]))
54 else if (
GetGame().SurfaceIsPond(pos[0], pos[2]))
102#ifdef PLATFORM_WINDOWS
104 override int GetViewIndex()
106 if (MemoryPointExists(
"invView2"))
109 GetInventory().GetCurrentInventoryLocation(
il);
170 return "placeFishNetTrap_SoundSet";
175 return "fishnet_deploy_SoundSet";
InventoryLocationType
types of Inventory Location
void SetIsPlaceSound(bool is_place_sound)
string m_AnimationPhaseTriggered
string m_AnimationPhaseSet
class JsonUndergroundAreaTriggerData GetPosition
override string GetLoopDeploySoundset()
override void SpawnCatch()
override bool CanReceiveAttachment(EntityAI attachment, int slotId)
override void OnPlacementComplete(Man player, vector position="0 0 0", vector orientation="0 0 0")
override bool IsDeployable()
override string GetDeploySoundset()
override bool IsPlaceableAtPosition(vector position)
override void OnVariablesSynchronized()
proto native CGame GetGame()
static proto float RandomFloat(float min, float max)
Returns a random float number between and min[inclusive] and max[exclusive].
static proto int RandomInt(int min, int max)
Returns a random int number between and min [inclusive] and max [exclusive].