This sounds confusing, but what I'm asking for here is the ability to make an animation frame last a random amount of tics rather than using a series of A_Jump's to do the same thing. Basically, I want to be able to use the
RANDOM(
Small#,Large#) variable for frame durations.
Kind of like this:
Code: Select all
Psuedocode:
ACTOR BagOfPopcorn
{
states
{
Spawn:
TNT1 A RANDOM(2,20) A_CustomMissile("Popcorn1")
TNT1 A RANDOM(2,20) A_CustomMissile("Popcorn2")
TNT1 A RANDOM(2,20) A_CustomMissile("Popcorn3")
Stop
}
}
This sort of thing can already be done with bullet attacks to randomize their damage. This could be valuable for objects with unpredictable behavior such as a bag of popcorn without having to use a bunch of A_Jump's. If this can already be done like the above example, I apologize.