Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
actioneatcereal.c
Go to the documentation of this file.
2{
3
4 override void OnFinishProgressServer( ActionData action_data )
5 {
6 super.OnFinishProgressServer(action_data);
7
8 float compassChance = 0.1;
9 if (Math.RandomFloatInclusive(0.0, 1.0) < compassChance)
10 {
11 action_data.m_Player.SpawnEntityOnGroundRaycastDispersed("OrienteeringCompass");
12 }
13 }
14};
Definition enmath.c:7