Need help modding an ability

Hi I'm trying to make an ability that will detect phase jumps from two lanes away from an Object I.E planetmodule or ship.

I seem to be a little stuck and if anyones got some pointers I'd be grateful, BTW the researchable ability for detection doesn't do the job as it detects phase jumps anywhere near you empire and not just a certain ship.

Also if someone knows a way to cast a buff on adjacent planets it would solve this problem and some others I'm working on.

Thanks :grin:

4,821 views 2 replies
Reply #1 Top

I do not belive this is possible.

Reply #2 Top

You should be able to give a ship an ability simply using the base BuffDetectPhaseJumpSpawner as it will automatically apply this to localorbitbody. You would have to disable and reenable this every jump, but if you make the finish condition EnterHyperspace that will get rid of some of the annoyance.

Might also look at the WithinSolarSystem constraint.