Knuckle Cracker

Particle Fleet => Map Makers, Ship Builders, and Coders => Topic started by: Sorrontis on January 05, 2017, 08:07:03 PM

Title: CreateUnit Issues
Post by: Sorrontis on January 05, 2017, 08:07:03 PM
Hello all,

So, I'm playing with the createUnit command in PRPL, and using the following code:


20 379 "Emitter" CreateUnit ->UnitID
<-UnitID 2 SETEMITTERPARTICLETYPE
<-UnitID 1 SETEMITTERPRODUCTIONINTERVAL
<-UnitID 150 SETEMITTERMAXPARTICLES
<-UnitID 300 SETEMITTERMAXTIME
<-UnitID 1.0 SETEMITTERMAXPARTICLESPEED


Something should pop up, but I've looked at the UnitId Trace, and it gives me -1.  The isn't using dot notation, I'll fix that later.


Nevermind... it's supposed  to be "Emitter" Coordinates CreateUnit ->UnitID ... I had it reversed
Title: Re: CreateUnit Issues
Post by: Nicant on January 05, 2017, 08:25:54 PM
Yeah that messed me up too!