WorldLine(Pre)Activated: Retrieve means of Activation

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: WorldLine(Pre)Activated: Retrieve means of Activation

Re: WorldLine(Pre)Activated: Retrieve means of Activation

by Marisa the Magician » Sat Apr 14, 2018 1:03 pm

Heh, I really should have added this from the beginning.

Re: WorldLine(Pre)Activated: Retrieve means of Activation

by XxMiltenXx » Sat Apr 14, 2018 5:21 am

Thank you.

I assume "player pushes" is "bumping?" That is why I couldn't find it then.

Re: WorldLine(Pre)Activated: Retrieve means of Activation

by _mental_ » Sat Apr 14, 2018 4:59 am

On ZScript side activation types enum is here.

Re: WorldLine(Pre)Activated: Retrieve means of Activation

by XxMiltenXx » Sat Apr 14, 2018 4:32 am

Great, thank you!

I think in addition to this an enum definition for all the activation types should be added. At least I couldn't find one.

Re: WorldLine(Pre)Activated: Retrieve means of Activation

by _mental_ » Sat Apr 14, 2018 3:48 am

Added in ba4cc1a.

Re: WorldLine(Pre)Activated: Retrieve means of Activation

by Major Cooke » Fri Apr 13, 2018 4:41 pm

That actually sounds like a good idea. I agree.

WorldLine(Pre)Activated: Retrieve means of Activation

by XxMiltenXx » Fri Apr 13, 2018 4:40 pm

For the events WorldLineActivated and WorldLinePreActivated I think it would be useful to be able to check how the line was activated (e.g. by bumping, using, projectile impact etc.), so you can check against it.

Would be useful if a line has multiple activation flags, so you can let it do different things depending on how the line was activated.

Unless this is already possible? I checked the Line struct but I couldn't find anything redarging this (only the activation flags themself, which doesn't help me there)

Top