amokrun1 Posted November 7, 2024 Posted November 7, 2024 I am attaching a script to a weapon to get a global value and it performs as I want but I only want it to run once. What is the command for this? I have seen DoOnce before but cannot remember how it was used. The script is as of now: Begin OnAdd Player set xGlobal to 1 End
madmongo Posted November 7, 2024 Posted November 7, 2024 Begin OnAdd Player if xGlobalDoOnce != 1 set xGlobal to 1 set xGlobalDoOnce to 1 endif End
laclongquan Posted November 8, 2024 Posted November 8, 2024 I think doonce use in various scripts that attach to box of powders, box of case, box of primers.
Recommended Posts