OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: dmakatra on 03 Feb 2003, 21:00:53

Title: Camcreate, ones step up
Post by: dmakatra on 03 Feb 2003, 21:00:53
Hi! I wanna camcreate a bomb at a moving object, thats why I canÂ't use GLs and I wanna camcreate it one meter up than the moving target is. Is there anyway?
Title: Re:Camcreate, ones step up
Post by: Black_Feather on 03 Feb 2003, 23:22:08
yeah, like this

thingy = "heat73" camCreate [(getpos unitname select 0), (getpos unitname select 1), 1]

but 1 metre isn't much, try 10 or something
Title: Re:Camcreate, ones step up
Post by: O Neil on 04 Feb 2003, 06:31:31
Na, that would create a bomb but not on a moving target (Or 1 meter above it) well atleast when I did it it didn't, only thins worked:

Bomb="heat125" camcreate(getpos plane); Bomb="Shell125" camcreate(getpos plane)

Call the unit "Plane"
That should create a bomb right at the "moving" target......but I'm too tiredt to work out what to do to make it 1 meter above soz.

O Neil ;)
Title: Re:Camcreate, ones step up
Post by: dmakatra on 04 Feb 2003, 17:08:46
Thx Feather! And 1 meter is enough

*TOPIC SOLVED AND LOCKED