OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: bobthedinosaur on 21 Jan 2004, 22:12:47

Title: don't know how camcreate works
Post by: bobthedinosaur on 21 Jan 2004, 22:12:47
i got this script
Bomb="heat125" camcreate(getpos plane); Bomb="Shell125" camcreate(getpos plane)

what do the variables in this script do? i don't know the first thing about camcreate

thanx
Title: Re:don't know how camcreate works
Post by: icarus_uk on 21 Jan 2004, 22:18:14
Bomb ; The name of the shell thats going to be created.  In this case its pointless and can be left off , unless you want to later move the shell around.

"Heat125" and "Shell125" ; The types of object being created.  In this case, a sabot round, and a heat round.

(Getpos plane) ; Where the objects are being created, in this case they are being created at the position of a object named "plane", one would assume the code is designed to destroy a plane.