Variable raise and lower in DECORATE

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: Variable raise and lower in DECORATE

Re: Variable raise and lower in DECORATE

by Graf Zahl » Sun Feb 19, 2017 7:26 am

Oops. This has been in for some time now, so this thread can go.

Re: Variable raise and lower in DECORATE

by Graf Zahl » Mon May 30, 2016 1:03 am

Indeed. Calling these multiple times in the same state does not work right.

Re: Variable raise and lower in DECORATE

by NeuralStunner » Sun May 29, 2016 6:20 pm

Gez wrote:Note that you can also do this:
TNT1 A 1 { A_Raise; A_Raise; }
Yes, however it causes weird problems.

Re: Variable raise and lower in DECORATE

by Major Cooke » Sun May 29, 2016 12:25 pm

Addendum: IF you are on 2.9pre aka devbuilds from the DRD team.

Re: Variable raise and lower in DECORATE

by Gez » Sun May 29, 2016 12:09 pm

Note that you can also do this:
TNT1 A 1 { A_Raise; A_Raise; }

Re: Variable raise and lower in DECORATE

by Nevander » Tue May 10, 2016 7:35 pm

NeuralStunner wrote:I thought I'd seen this before: Old Topic
Oops. Sorry for not searching first... either way, any chance this could be implemented in the future?

Re: Variable raise and lower in DECORATE

by NeuralStunner » Tue May 10, 2016 6:29 pm

I thought I'd seen this before: Old Topic

Variable raise and lower in DECORATE

by Nevander » Tue May 10, 2016 5:49 pm

It might come it handy (and for ease of use) to have a way to give a speed multiplier to A_Raise and A_Lower like in the example on the wiki, except without needing to do two lines and make the first one a 0 tic. Something like A_Raise(2) to raise twice as fast and A_Lower(0.5) to lower at half speed.

So as an example, this:

Code: Select all

TNT1 A 0 A_Raise
TNT1 A 1 A_Raise
Loop
For twice as fast would become:

Code: Select all

TNT1 A 1 A_Raise(2)
Loop
Good? Bad? Useless?

Top