Knuckle Cracker

Particle Fleet => Map Makers, Ship Builders, and Coders => Topic started by: bluebolt on January 07, 2017, 08:40:39 PM

Title: GetMire returning
Post by: bluebolt on January 07, 2017, 08:40:39 PM
Does GetMire return a true or false statement, regardless to if the mire is benign or not? Would be helpful if it didn't... unless i'm missing something, otherwise it would be helpful if it returned 0:none, 1:benign, 2: enemy or something. At least, that's what i'm looking for. Is there a way to find this?
Title: Re: GetMire returning
Post by: GoodMorning on January 07, 2017, 08:50:48 PM
GetMire returns:

1 - Red
0 - None
-1 - Blue

This means that it will coerce to true if it has mire, false if not; and we can still check the type of mire.
Title: Re: GetMire returning
Post by: bluebolt on January 07, 2017, 08:56:40 PM
ah thank you
Title: Re: GetMire returning
Post by: GoodMorning on January 07, 2017, 09:00:29 PM
See "Warp never Changes" in Inception for some scripts using this.