DayZ 1.24
Loading...
Searching...
No Matches
Trap_SmallFish.c File Reference

Go to the source code of this file.

Classes

class  TrapSpawnBase
 

Functions

override void OnPlacementComplete (Man player, vector position="0 0 0", vector orientation="0 0 0")
 
override bool IsDeployable ()
 
override string GetDeploySoundset ()
 
override string GetLoopDeploySoundset ()
 
override bool DoPlacingHeightCheck ()
 

Variables

class Trap_SmallFish extends TrapSpawnBase m_RainProcurement
 

Function Documentation

◆ DoPlacingHeightCheck()

override bool DoPlacingHeightCheck ( )

Definition at line 180 of file Trap_SmallFish.c.

181 {
182 return true; //has to be able to catch rain, default distance raycast
183 }

◆ GetDeploySoundset()

override string GetDeploySoundset ( )

Definition at line 170 of file Trap_SmallFish.c.

171 {
172 return "placeSmallFishTrap_SoundSet";
173 }

◆ GetLoopDeploySoundset()

override string GetLoopDeploySoundset ( )

Definition at line 175 of file Trap_SmallFish.c.

176 {
177 return "fishtrap_deploy_SoundSet";
178 }

◆ IsDeployable()

override bool IsDeployable ( )

Definition at line 165 of file Trap_SmallFish.c.

166 {
167 return true;
168 }

◆ OnPlacementComplete()

override void OnPlacementComplete ( Man player,
vector position = "0 0 0",
vector orientation = "0 0 0" )

Definition at line 158 of file Trap_SmallFish.c.

159 {
160 super.OnPlacementComplete(player, position, orientation);
161
162 SetIsPlaceSound(true);
163 }
void SetIsPlaceSound(bool is_place_sound)
Definition ItemBase.c:8962

References SetIsPlaceSound().

Variable Documentation

◆ m_RainProcurement

class Trap_SmallFish extends TrapSpawnBase m_RainProcurement