DayZ
1.24
Loading...
Searching...
No Matches
Debug.c
Go to the documentation of this file.
1
void
wpnPrint
(
string
s
)
2
{
3
#ifdef WPN_DEBUG
4
PrintToRPT
(
""
+
s
);
// comment/uncomment to hide/see at least important info
5
#else
6
//Print("" + s); // comment/uncomment to hide/see at least important info
7
#endif
8
}
9
void
wpnDebugPrint
(
string
s
)
10
{
11
#ifdef WPN_DEBUG
12
PrintToRPT
(
""
+
s
);
// comment/uncomment to hide/see debug logs
13
#else
14
//Print("" + s); // comment/uncomment to hide/see debug logs
15
#endif
16
}
17
void
wpnDebugSpam
(
string
s
)
18
{
19
#ifdef WPN_DEBUG_SPAM
20
PrintToRPT
(
""
+
s
);
// comment/uncomment to hide/see debug logs
21
#else
22
//Print("" + s); // comment/uncomment to hide/see debug logs
23
#endif
24
}
25
void
wpnDebugSpamALot
(
string
s
)
26
{
27
#ifdef WPN_DEBUG_SPAM_FREQ
28
PrintToRPT
(
""
+
s
);
// comment/uncomment to hide/see debug logs
29
#else
30
//Print("" + s); // comment/uncomment to hide/see debug logs
31
#endif
32
}
33
34
// @NOTE: to see output from FSM transitions, go to:
35
// 4_World/Entities/HFSMBase.c
36
// @see fsmDebugPrint @see fsmDebugSpam
37
wpnPrint
void wpnPrint(string s)
Definition
Debug.c:1
wpnDebugSpamALot
void wpnDebugSpamALot(string s)
Definition
Debug.c:25
wpnDebugSpam
void wpnDebugSpam(string s)
Definition
Debug.c:17
wpnDebugPrint
void wpnDebugPrint(string s)
Definition
Debug.c:9
Param3
Definition
EntityAI.c:95
PrintToRPT
proto void PrintToRPT(void var)
Prints content of variable to RPT file (performance warning - each write means fflush!...
scripts
4_World
Entities
Firearms
Debug.c
Generated by
1.10.0