Home   Help Search Login Register  

Author Topic: camcreate smoke/flare?  (Read 670 times)

0 Members and 4 Guests are viewing this topic.

Muddy Waters

  • Guest
camcreate smoke/flare?
« on: 11 Sep 2004, 22:47:17 »
i want a smoke shell ot be on the ground where my airborne troops land, to make it look like pathfinders have been there.

how do i do this? do i camcreate it? ive been looking at the comref thing, but i must be doing something wrong, HELP!

Offline Nemesis6

  • Members
  • *
Re:camcreate smoke/flare?
« Reply #1 on: 11 Sep 2004, 22:52:36 »
place a game logic  at the place you want the smokeshell to be at. Now, name the game logic something... let's call it GL1, so when you want the smoke to appear, do this -

smoke = "smokeshell" createVehicle (getpos GL1)
« Last Edit: 11 Sep 2004, 22:53:20 by Nemesis6 »
I am actually flying into a star... this is incredible!

Muddy Waters

  • Guest
Re:camcreate smoke/flare?
« Reply #2 on: 12 Sep 2004, 17:50:37 »
thanks mate, i forgot to name the gamelogic and the "setpos" command, thats what i did wrong. thanks

Muddy Waters

  • Guest
Re:camcreate smoke/flare?
« Reply #3 on: 24 Oct 2004, 21:31:20 »
how about flares then? i tried putting flare in the int. field but i didnt work, do i need to give it a height or something?

Offline C0LDSt33L

  • Members
  • *
  • Member of the SotM Team
Re:camcreate smoke/flare?
« Reply #4 on: 24 Oct 2004, 22:05:42 »
Flares have to be above a certain height and they also with between dusk and dawn to shine.

Muddy Waters

  • Guest
Re:camcreate smoke/flare?
« Reply #5 on: 24 Oct 2004, 22:23:16 »
where do i put in the flares hieght in the trigger activation field? can you give me an example? many thanks

Offline C0LDSt33L

  • Members
  • *
  • Member of the SotM Team
Re:camcreate smoke/flare?
« Reply #6 on: 24 Oct 2004, 22:33:15 »
I have no idea. If I were you I'd just have a bloke on the ground and put in his init field:

removeallweapons this; this addmagazine "Flare"; this addweapon "M16GrenadeLauncher"

Then in your trigger have:

flaredude fire ["M203Muzzle","Flare"]

Then you can setpos him to [0,0,0] with another trigger

This should make him fire the flare then disappear before you are close enough to see him


I suppose you could create the flare in the area using a script like:

_pointx = getpos GL1 select 0
_pointy = getpos GL1 select 1
_pointz = getpos GL1 select 2

then create the flare at position [_pointx,_pointy,_pointz+200]

Thats probably closer to what you're using now

« Last Edit: 24 Oct 2004, 22:38:13 by C0LDSt33L »

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:camcreate smoke/flare?
« Reply #7 on: 24 Oct 2004, 22:56:19 »
flare1 = "flare" camCreate [getpos GL1 select 0, getpos GL1 select 1, 50]

Not guaranteed.   Change the 50 to whatever works.
Plenty of reviewed ArmA missions for you to play

Muddy Waters

  • Guest
Re:camcreate smoke/flare?
« Reply #8 on: 25 Oct 2004, 11:05:03 »
ok, cheers mate!