Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Deploy Smoke Grenade...
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Deploy Smoke Grenade... (Read 528 times)
0 Members and 1 Guest are viewing this topic.
Olphy
Guest
Deploy Smoke Grenade...
«
on:
08 Apr 2004, 23:31:33 »
Sup.
I'm making a beach landing mission at the moment and what I want to happen is when the landing craft reach a certain point I want a field of white or green Smoke Grenades to go off without the ai having to throw them. How would I go about this?
Cheers again.
Logged
Artak
The old beanbag shaker
Former Staff
You want to talk about it, yes?
Re:Deploy Smoke Grenade...
«
Reply #1 on:
09 Apr 2004, 11:45:46 »
you could place a couple of empty markers, the first one named as marker1 and so on..
then in a trigger have
shell1 = "smokeshell" camcreate getmarkerpos "marker1"
and so on..
Logged
Not all is lost.
Olphy
Guest
Re:Deploy Smoke Grenade...
«
Reply #2 on:
09 Apr 2004, 13:58:19 »
Hmmm.
Ill give that a try...
Thanks mate!
Logged
TonyRanger
Members
I'm a llama!
Re:Deploy Smoke Grenade...
«
Reply #3 on:
09 Apr 2004, 14:33:26 »
you can do it like this too
unitname fire["throw","smokeshell","smokeshell"]
(unit must has smokeshell first)
Logged
Artak
The old beanbag shaker
Former Staff
You want to talk about it, yes?
Re:Deploy Smoke Grenade...
«
Reply #4 on:
09 Apr 2004, 15:14:47 »
Quote
without the ai having to throw them.
;D
«
Last Edit: 09 Apr 2004, 15:14:54 by Artak
»
Logged
Not all is lost.
Rappy
Guest
Re:Deploy Smoke Grenade...
«
Reply #5 on:
09 Apr 2004, 21:50:06 »
plus, AI throws smoke grenades in a very wierd way, you never know where they end up.
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Deploy Smoke Grenade...
Top of page