OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: eversman on 20 Jun 2003, 14:43:39
-
Hi all, i have small problem.
First fo all...
In my mission i have Blackhawk and two Litte Birds. Player is a Blackhawk pilot and i want that Litte Birds fly follow player chopper but not beeing assigned to his group.
And second...
I want that when guy witch radio is dead radio messages are disabled. I used enableradio command but it not work. What should i do???? ::)
-
Q1. You can use the dofollow command...
soldierOne doFollow player
Q2. No idea!
-
@Iwesshome
I'm not sure "dofollow" will do the trick, I think it's only a "return to formation" type o' thing, that is, it only works for units in the same group.
Hence to eversman :
a simple way could be to create a trigger :
condition : (mybird distance player)>150
activation : mybird domove getpos player
that way you'd create a loop compelling the loons to follow you;
As to Q2 :
if you're speaking about Radio Alphas, the 0-0-x, use setradiomsg :
In a trigger :
condition : !(alive myguy)
activation : 0 setradiomsg "null"
-
@ igor
think da same - but he needs 2 make da trig repeatable also ;) ;D 8)
@ ever
2 - i didnt understand ??? ::) :P
LCD OUT
-
think da same - but he needs 2 make da trig repeatable also
*cough* :beat:
Cheers mate, thanks for your careful re-reading !
-
2 - i didnt understand ??? ::) :P
LCD OUT
Ok LCD... imagine that you are a SEAL team leader in Nam mission. You are in joungle and VC killed your radioman. You or any man from your team must take the radio from this guy or communication witch base will be lost. No air support, no extraction... you daing slowwwly..... ;D :P
you understand now... ;)
-
shud b easy ;D
use dis condition b4 every radio transmition ;)
? "_X hasweapon {radiotype}" count units groupname > 0
da radiotype is da class of da radio - check it in da reame (da same class used 4 addweapon command ;D)
LCD OUT
-
thanks LCD, i try it.
-
I have one question... agin ;D
What should i do to unit sometimes been in difrent places.
You knew, mission replayity. I create a mission when player must locate a NVA officer and i wont to this guy been sometimes in difrent huts or even... vilages
-
make som markers (can b invisible) nd group him 2 em - he wil start in 1 of em (not alwayz da same) - i think ;D
if not use random nd setpos comands ;D
LCD OUT
-
make som markers (can b invisible) nd group him 2 em - he wil start in 1 of em (not alwayz da same) - i think ;D
if not use random nd setpos comands ;D
LCD OUT
thanks LCD wery simple idea.... and working :o
-
so solve da topic ;D ;)
LCD OUT
-
so solve da topic ;D ;)
LCD OUT
LCD it's for you.... ;D
topic solved