Code: Select all
Spawn:
TROO AB random(1,10) A_Look
loopModerator: GZDoom Developers
Code: Select all
Spawn:
TROO AB random(1,10) A_Look
loopCode: Select all
Spawn:
TROO A 0 A_Look
TROO A 0 A_SetStateTicks(random(1,10))
TROO B 0 A_Look
TROO B 0 A_SetStateTicks(random(1,10))
loopCode: Select all
TROO ABCDEFG random(1,19)Code: Select all
TROO ABCDEFG 1 A_Give..."DoStuffCustomInvnetory"
...
Actor DoStuffCustomInvnetory...
TNT1 A 0 A_SetStateTicks(random(0,18),SUBTRACT)
TNT1 A 0 //Do More Stuff
The only issue I can think of there is somebody trying to extend a custominvnetory frame...but oh well, that is what the wiki is for.FDARI wrote:Making it usable from CustomInventory would be a bit of a tradeoff:
... Can interfere with states whose duration should not be altered (only if used inappropriately)