DayZ Scripts
v1.21.156300 ยท Jun 20, 2023
Loading...
Searching...
No Matches
Debug.c
Go to the documentation of this file.
1
void
wpnPrint
(
string
s)
2
{
3
#ifdef INV_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 INV_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
//Print("" + s); // comment/uncomment to hide/see debug spam
20
}
21
void
wpnDebugSpamALot
(
string
s)
22
{
23
//Print("" + s); // comment/uncomment to hide/see debug spam
24
}
25
26
// @NOTE: to see output from FSM transitions, go to:
27
// 4_World/Entities/HFSMBase.c
28
// @see fsmDebugPrint @see fsmDebugSpam
29
wpnPrint
void wpnPrint(string s)
Definition
Debug.c:1
wpnDebugSpamALot
void wpnDebugSpamALot(string s)
Definition
Debug.c:21
wpnDebugSpam
void wpnDebugSpam(string s)
Definition
Debug.c:17
wpnDebugPrint
void wpnDebugPrint(string s)
Definition
Debug.c:9
PrintToRPT
proto void PrintToRPT(void var)
Prints content of variable to RPT file (performance warning - each write means fflush!...