Data Realms Fan Forums
http://45.55.195.193/

Spreading fire
http://45.55.195.193/viewtopic.php?f=75&t=20566
Page 1 of 1

Author:  Dylanhutch [ Sun Dec 12, 2010 12:58 pm ]
Post subject:  Spreading fire

Yeah I know.

Someone (not me) could make (I tried) fire that emits fire that emits fire and so on, creating fire that spreads.

I tried to use only ini but it was impossible, no really, it had SEVERE limitations, I had to reference something that was yet to come in the ini file.

You could possibly use this:
Code:
function Update(self)
   MovableMan:AddParticle(ParticleName)
   end

Author:  Roast Veg [ Sun Dec 12, 2010 11:42 pm ]
Post subject:  Re: Spreading fire

Code:
function Update(self)
    local burn = CreateMOSRotating(self.PresetName)
    burn.Pos.Y = self.Pos.Y
    burn.Pos.X = math.random(self.Pos.X - 10, self.Pos.X + 10)
    MovableMan:AddParticle(burn);
end


If it's not an MOSRotating, change it to whatever it is.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/