Knuckle Cracker

Particle Fleet => Map Makers, Ship Builders, and Coders => Topic started by: tornado on May 14, 2017, 06:40:12 AM

Title: Comand that spawns stunners?
Post by: tornado on May 14, 2017, 06:40:12 AM
Just curious if there was a command that created stunners from a PRPL core(or a specific map coord).
Cant find it on the wiki, though I'm prone to missing the obvious so it might actually be there.

Edit:
Actually, what about other unlisted units, such as doppel cores, emergent, ECT. those don't
have UUIDs or spawn commands on the wiki(as far as I know). is there a particular reason
why they aren't listed(IE:Breaks the game irrevocably when you try)?
Title: Re: Comand that spawns stunners?
Post by: FOXX on May 14, 2017, 07:23:01 AM
I have asked this myself at one point and to my knowledge there is not yet a command for spawning stunners.
My solution was placing a stunner spawner on the PRPL core you want shooting stunners and make the stunnerspawner invisable.
I know this is not what you ask for but it will do the same.
Title: Re: Comand that spawns stunners?
Post by: GoodMorning on May 14, 2017, 08:12:31 AM

"Stunner" CreateUnit ->Stunner


However, to my knowledge, there is no means to set the target of any Stunner(s) you spawn. Also be sure to set them friendly/enemy immediately, as they do not change targets once one is chosen.
Title: Re: Comand that spawns stunners?
Post by: tornado on May 14, 2017, 10:38:08 AM
Quote from: GoodMorning on May 14, 2017, 08:12:31 AM
Also be sure to set them friendly/enemy immediately...

And the command to do that would be? I searched the PRPL section of the Wiki with
The phrase Stunner and found nothing useful(for this).
Title: Re: Comand that spawns stunners?
Post by: Nicant on May 14, 2017, 10:51:21 AM
Here is most of the units you can spawn with CreateUnit if your curious, http://knucklecracker.com/wiki/doku.php?id=prpl:unittypelist (http://knucklecracker.com/wiki/doku.php?id=prpl:unittypelist)

To change a stunner to friend or foe, use this command.
<-Stunner.UnitIsEnemy True/False
Title: Re: Comand that spawns stunners?
Post by: planetfall on May 14, 2017, 01:54:43 PM
Some minor corrections:

Quote from: GoodMorning on May 14, 2017, 08:12:31 AM

<-SpawnX <-SpawnY "Stunner" CreateUnit ->Stunner


Quote from: Nicant on May 14, 2017, 10:51:21 AM
True/False ->Stunner.UnitIsEnemy
Title: Re: Comand that spawns stunners?
Post by: tornado on May 14, 2017, 02:04:26 PM
Thanks.
Title: Re: Comand that spawns stunners?
Post by: GoodMorning on May 14, 2017, 06:40:30 PM
Oops. Thanks for clarifying that.