OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Ace Productions on 09 Jun 2005, 22:29:11
-
Hi people,
I'm facing a strange problem. I'm trying to create an explosion about 2m above ground using a gamelogic called Target, but the explosion always occurs on the ground.
Effort 1:
Target SetPos [6206.9,6098.3,2]
~0
_shell1B = "Shell73" CamCreate GetPos Target
~0
Effort 2:
Target SetPos [6153,6078.4,5]
~0
_shell2A = "Shell73" CamCreate [GetPos Target Select 0,GetPos Target Select 1,2]
~0
Effort 3:
Target SetPos [6153,6078.4,5]
~0
_shell2A = "Shell73" CamCreate [GetPos Target Select 0,GetPos Target Select 1,(GetPos Target Select 2)+2]
~0
No luck in any case!!! Can anyone please help? :-[
-
I'm not sure if you can place gamelogics anywhere but on the ground.
At least I think they default to ground or sea level.
But I could be wrong ::)
Planck
-
Hi,
You have to create two explosions at the same spot if you want them to explode in mid-air, otherwise the explosion occurs on the ground.
-
Game logics can be placed anywhere
Camcreated shells fall until they hit something then they explode. Hence Blanco's solution, create two in the same place at the same time - they will therefore hit each other and explode.
Planck: it is triggers that drop to sealevel if you give them a 'select 2' value of 0
-
You can always use setDammage on the shells... tis wat i always did.. only one object then.
-
it is triggers that drop to sealevel if you give them a 'select 2' value of 0
Thanks THobson, I got confused in my old age. ;D
Planck
-
Thanks a lot guys for your replies.
I'll give it a try and solve the topic if everything it's ok.
Thanks again. :)