Question about finish condition types for buffs.

Is there a finish condition type for "caster has left orbit body"?

What I'm trying to do is make the stabilize phase space ability on the Marauder passive, but the problem I ran into was after the ship left the planet it was still a node until the end of time.  So I added in a finish condition type of a time limit on the target buff but then every time the time limit is up there's a moment where it's not a node before it re-applies itself so it can throw off the AI into picking a different jump path.  I also tried just making it the same buff the module uses but then not only do I get the graphic on my ship which I don't want, the same problem accurred to where the ship left and the planet was still a node and would still be until the ship was destroyed.

5,001 views 4 replies
Reply #1 Top

EnterHyperspace?

Reply #2 Top

Quoting Carbon016, reply 1
EnterHyperspace?
End of Carbon016's quote
But would that work for the target buff when the planet is a target and never moves, much less enters hyperspace?

Reply #3 Top

Oh, gotcha, I didn't read the post through enough. In this case you need to make a caster and target buff, where the target calls back to the caster using FirstSpawnerNoLongerHasBuff/LastSpawnerNoLongerHasBuff to see if the buff has ended, as well as make the caster buff have a finish condition of EnterHyperspace.

That should decast it on the planet while using the caster as the 'trigger': if the caster makes a jump, the node's gone.

Reply #4 Top

I tried doing that but for whatever reason when I did the orbit body swapped "on" and "off" of being a node every other second, oh well. =/  I suppose I'll just stick with the 3 min duration and wait the extra second of it going off then back on for my ships to decide "Oh it's not a node anymore let's go this way inst....nevermind!"

 

On a side note am I the only one who thinks it's silly that the cap ship can generate a node on a star but the starbase can only generate one on a planet?!  Me thinks they overlooked that.