Xansta
Registered:1493075115 Posts: 31
Posted 1493079237
Reply with quote
#1
Is there a way to check whether a neutral is inside a nebula? Is there a way to check if a nebula exists at a given point? Thanks
Mike Substelny
Administrator
Registered:1375273622 Posts: 2,990
Posted 1493126592
Reply with quote
#2
I believe the answer is no. The best you can do is deploy a cloud of nebulae in a circle and check whether the neutral is within that circle. Technically, you could deploy your nebulae randomly, but using the same seed every time. That way each nebula would be in exactly the same spot every time, so you could constantly check whether your neutral was within all of those circles. That would be a lot of coding, but it would work. That said, the Artemis software does know whether or not a nebula exists at any given point, but that information is not exposed to the mission scripting system.
__________________"The Admiralty had demanded six ships; the economists offered four; and we finally compromised on eight." - Winston Churchill