View unanswered posts | View active topics It is currently Fri Dec 27, 2024 11:00 am



Reply to topic  [ 2 posts ] 
 Spreading fire 
Author Message
User avatar

Joined: Sun Apr 25, 2010 12:04 am
Posts: 303
Location: Australia
Reply with quote
Post 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


Sun Dec 12, 2010 12:58 pm
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Tue May 25, 2010 8:27 pm
Posts: 4521
Location: Constant motion
Reply with quote
Post 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.


Sun Dec 12, 2010 11:42 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.047s | 13 Queries | GZIP : Off ]