Hi guys,
İ try to make a mission ,i need help some animations with caracters, :
AI commander has to salute and talk to player in trigger area.
i read something about somewhere playmove and switchmove commands , but i can't use them.Can you write setp by step totorial.
(i won't use audio files.just texts and animations)
Thanks.
Salute and Talk
Moderators: Snake Man, Lone Wolf
-
Snake Man
- Commander-In-Chief
- Posts: 9950
- Joined: 2000-07-31 22:01:01
- Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
- Editing Interests: All, I (try) to edit everything.
- Location: PMC
First, playMove playes the move animations and switchMove switches character immediately to the position/stance.
Salute action
Description: Causes a person to salute. AI controlled units will only make a momentary salute, unless the AI is in safe or careless behaviour mode.
Syntax: unit action ["salute", targetUnit]
Where unit is any unit (no animation is performed), and targetUnit is the person to make the salute.
Example: soldierOne action ["salute", soldierOne]
Salute action
Description: Causes a person to salute. AI controlled units will only make a momentary salute, unless the AI is in safe or careless behaviour mode.
Syntax: unit action ["salute", targetUnit]
Where unit is any unit (no animation is performed), and targetUnit is the person to make the salute.
Example: soldierOne action ["salute", soldierOne]
See PMC Website Hosting and Domain Registration Fee Status topic. Announcement PMC Tactical Forum "The End for local notes" topic.
-
cenkcnk
- Newbie
- Posts: 7
- Joined: 2007-02-20 15:32:04
Thanks for help Snakeman,
I want to ask another things about that dialog scene.
-Commander talks about 1 min. and this is too much for dialog.is it possible to make it shorter?
-I want to add about 5-6 lines text dialog in this scene .But using triggers for every line is very useless.İ want to use scripts.Can you post a simple codes?
Thanks again.
I want to ask another things about that dialog scene.
-Commander talks about 1 min. and this is too much for dialog.is it possible to make it shorter?
-I want to add about 5-6 lines text dialog in this scene .But using triggers for every line is very useless.İ want to use scripts.Can you post a simple codes?
Thanks again.
-
Snake Man
- Commander-In-Chief
- Posts: 9950
- Joined: 2000-07-31 22:01:01
- Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
- Editing Interests: All, I (try) to edit everything.
- Location: PMC
In OFP I used just titletext. So in ArmA it should work like this:
Of course you should use SQF scripts instead of SQS ones which my example points as there are the ~ delays.
Anyways, titletext should be your way to go.
Code: Select all
titleText ["Russians invited NATO commanders for negotiation table.","PLAIN DOWN",2]
~3
titleText ["But can they agree on anything?","PLAIN DOWN",2]
~3Anyways, titletext should be your way to go.
See PMC Website Hosting and Domain Registration Fee Status topic. Announcement PMC Tactical Forum "The End for local notes" topic.