Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
catchingresultstructure.c
Go to the documentation of this file.
2{
3 override protected float RollChanceSeeded()
4 {
5 PlayerBase player;
6 if (Class.CastTo(player,m_Owner.GetHierarchyRootPlayer()))
7 return player.GetRandomGeneratorSyncManager().GetRandom01(RandomGeneratorSyncUsage.RGSAnimalCatching);
8
9 ErrorEx("Player not present or wrong entity used | m_Owner: " + m_Owner + " | root entity: " + m_Owner.GetHierarchyRoot());
10 return 2.0;
11 }
12};
Super root of all classes in Enforce script.
Definition enscript.c:11
enum ShapeType ErrorEx