OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Killzone on 14 May 2004, 14:19:24

Title: Camcreate
Post by: Killzone on 14 May 2004, 14:19:24
Hi   ;D


Is  it possible to camcreate an object using the object id's.

I would like to create a script that creates a fire using the addon (CAThousefire1) on an object that has just been destroyed to make the dammage seem more realistic. I dont want to have to place the fire addon on every object.

As always thanks in advance for the help ;) ;D
Title: Re:Camcreate
Post by: Killzone on 14 May 2004, 14:34:15
Hello again

I actually figured out how to create it at the object spot I want by using this:
fire = "cathousefire1" camCreate  [getPos object 2341 select 0, getpos object 2341 select 1, 0]

but I have another problem.  I want the fire to light after being created. Is it possible to name an object so that I can inflame true it?
Title: Re:Camcreate
Post by: PsyWarrior on 14 May 2004, 15:27:31
Greets,

Quote
fire = "cathousefire1" camCreate  [getPos object 2341 select 0, getpos object 2341 select 1, 0]

You want:
fire inflame true

fire is the name given to the fire you have created.

-Supr. Cmdr. PsyWarrior
-Psychic Productions