Code: Select all
TNT1 A 0 A_FadeTo(random(0.25, 1.0), 1.0, false)
What I'm trying to do here is to give the actor a random opacity at spawn. However, this doesn't work - what happens is the actor is either invisible, or visible at spawn. I'm guessing that it's not randomizing the value in the way I think it should have.
Is this even possible?