OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: MiNtY on 20 Apr 2003, 02:08:33
-
Can some one help me plz how do i make one unit talk to another unit in the game?
how does the Mortar unit work in the game i.e how do i get him to use s mortar where does he ues it him self?
can i get a staionary one from anywhere?
-
to ahve units talk over the radio:
this sidechat "hello"
to have a morter fire at something:
morter dofire unit
-
Almost HAMMY! You haveta'
unit selectWeapon weapon
unit doFire target
Should Work!
Tanks! 8)
-
:P
thanks for correcting me capt. winters :)
-
No Problem Buddy! ;)
Tanks! 8)
-
but i meant not over the radio i mean as in one unit next to the other talking to each other
-
Syntax not guaranteed, nor indeed the effects.
loon1 playmove "EffectStandTalk"
loon1 setMimic "ironic"
loon1 doWatch loon2
-
in english please
-
lol I'm terribly sorry, I only speak Flashpoint ....
I have assumed that what you are trying to do is have two units look as if they are talking to each other during a cutscene.
Commands you might find useful are switchmove (or playmove), doWatch and mimic. To find out more about these commands, and to check my syntax, look them up in the Command References in the Ed Depot. There are millions of switchmove animations, and 6 or 8 mimics. These commands go in the script, waypoint or trigger you are using to control the conversation.
loon1 and loon2 are the names of your soldiers, of course you can call them anything you like.
Does that help? If you can tell me which bits you don't understand I'd be glad to explain, or point you in the direction of the relevant tute. :)
-
thanxs mate can this be used in the the main game when the player is playing not in a cut scene?
-
Yes of course. Almost everything you can do in a cutscene you can do during normal gameplay, and vice versa.
-
thxs alot mate