Dayz Explorer
1.28.160049
Loading...
Searching...
No Matches
catchingresultstructure.c
Go to the documentation of this file.
1
class
CatchingResultBase
:
CatchingResultBasic
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
};
CatchingResultBase
Definition
catchingresultstructure.c:2
CatchingResultBase::RollChanceSeeded
float RollChanceSeeded()
Definition
catchingresultstructure.c:3
CatchingResultBasic
Definition
catchingresultbasic.c:2
CatchingResultBasic::m_Owner
EntityAI m_Owner
Definition
catchingresultbasic.c:3
Class
Super root of all classes in Enforce script.
Definition
enscript.c:11
PlayerBase
Definition
playerbaseclient.c:2
ErrorEx
enum ShapeType ErrorEx
RandomGeneratorSyncUsage
RandomGeneratorSyncUsage
Definition
randomgeneratorsyncmanager.c:2
Daten
4_world
systems
animalcatchingsystem
catchingresultstructure.c
Generated by
1.12.0