by Major Cooke » Mon Apr 25, 2016 2:27 pm
Awesome. Thanks!
For those of you who want a partly perfect rollover...
Code: Select all
Actor Quakin
{
const int flags = QF_WAVE;
+NOINTERACTION
States
{
Spawn:
TNT1 A 0 NoDelay A_QuakeEx(3,3,3,35*5,0,256,"",flags,0,0,0,64,35,180*randompick(-1,1),0.1)
TNT1 A 1 A_SetTics(88)
Stop
}
}
This can roll in one of two directions. Which makes me wonder if we could extend the clamp to a range of [-9, 9] instead of [1,9]? Because it works.
Awesome. Thanks!
For those of you who want a partly perfect rollover...
[code]Actor Quakin
{
const int flags = QF_WAVE;
+NOINTERACTION
States
{
Spawn:
TNT1 A 0 NoDelay A_QuakeEx(3,3,3,35*5,0,256,"",flags,0,0,0,64,35,180*randompick(-1,1),0.1)
TNT1 A 1 A_SetTics(88)
Stop
}
}[/code]
This can roll in one of two directions. Which makes me wonder if we could extend the clamp to a range of [-9, 9] instead of [1,9]? Because it works.