Knuckle Cracker

Creeper World 3 => The Coder's Corner => Topic started by: Sorrontis on May 09, 2016, 08:04:56 PM

Title: CreateUnit Collector
Post by: Sorrontis on May 09, 2016, 08:04:56 PM
Well, this is interesting. I can't seem to make the CreateUnit CRPL to create an already completed Collector or Reactor. Yes, like rewards!
Title: Re: CreateUnit Collector
Post by: GoodMorning on May 09, 2016, 09:53:57 PM
You'll need to use CONST_ISBUILDING. It defaults to true. Set it to false and it should work.

(Or you could provide a regenerating energy crystal...)
Title: Re: CreateUnit Collector
Post by: Sorrontis on May 09, 2016, 10:13:45 PM
Quote from: GoodMorning on May 09, 2016, 09:53:57 PM
You'll need to use CONST_ISBUILDING. It defaults to true. Set it to false and it should work.

(Or you could provide a regenerating energy crystal...)

Thanks! I'll try that!
Title: Re: CreateUnit Collector
Post by: Sorrontis on May 10, 2016, 12:42:37 AM
Update... It works!

Thanks

Also, look out for rewards in my next map!