Quantcast
Channel: ZDoom
Viewing all articles
Browse latest Browse all 3391

Scripting • Re: Could somebody help me find what's wrong with my code?

$
0
0
State jumps work a bit differently inside functions. See here for more details.

To solve your problem...

Code:

PGUN D 0{If(Invoker.ShotCounter == 8){return ResolveState("CoolDown");}return ResolveState(null);}Goto FireLoop;

Statistics: Posted by Blue Shadow — Wed Aug 21, 2024 10:21 pm



Viewing all articles
Browse latest Browse all 3391

Trending Articles