OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Voron357 on 11 Sep 2005, 18:23:09

Title: Questions on the editor
Post by: Voron357 on 11 Sep 2005, 18:23:09
Excuse me if I not there have created a theme, in this case simply move her or remove, I shall understand.

I have question which already for a long time torments me, so :

How to force the commander (the leader of group) in whom the player will consist also, to order to the player to go somewhere?

I.e. that the leader of group has given an order to the player thus this command was displayed in the bottom left corner of the screen.
Title: Re:Questions on the editor
Post by: crave22 on 11 Sep 2005, 18:59:10
Well, since this is your first post, Welcome! :D (God, did putting that color in take a while!)

Second: You need to use waypoints. Go over to the editor's depot and look through some of the tutorials. It should help.

Third: This is probably going to be locked or moved, just so you know. It's in the wrong area.

Happy editing! ;)

*EDIT* Moved. Ignore #3
Title: Re:Questions on the editor
Post by: bored_onion on 11 Sep 2005, 19:47:34
This thread (http://www.ofpec.com/yabbse/index.php?board=6;action=display;threadid=25498) may also be of use in figuring out how to give individual group members orders from an officer.
Title: Re:Questions on the editor
Post by: Voron357 on 11 Sep 2005, 20:50:36
Quote
Well, since this is your first post, Welcome!  :D (God, did putting that color in take a while!)
Thanks crave22 , is very pleasant when so meet at a new forum  :).
Quote
This thread may also be of use in figuring out how to give individual group members orders from an officer.
Many thanks bored_onion, it that was necessary for me, once again thanks.
Title: Re:Questions on the editor
Post by: Voron357 on 12 Sep 2005, 00:30:45
Prompt me please how to insert into mission own sounds of clicks in a briefing ?
Where it is necessary to register these sounds and what commands to use ?

P/S: Beforehand I thank for answers  ;)
Title: Re:Questions on the editor
Post by: crave22 on 12 Sep 2005, 03:19:03
Check out this (http://www.ofpec.com/yabbse/index.php?board=9;action=display;threadid=25143) thread. It's more or less the same thing, he's just asking how to put music in. :) These are the commands. I'd assume you put the sounds in the mission folder. I just don't remember where you put the command. Sorry if I sound like a total noob. You probably have to put it in the description.ext, but I'm afraid I'm not sure. Check the editor's depot for a tut. ;)
Title: Re:Questions on the editor
Post by: Voron357 on 12 Sep 2005, 04:21:00
O'k, thanks once again for the help crave22, I think it that just is necessary for me  ;).

P/S: Other questions will necessarily appear, on this resource well help, I am pleased  :D.
Title: Re:Questions on the editor
Post by: Voron357 on 13 Sep 2005, 00:50:36
There is such command "musicvolume"...

In the trigger I wrote this command so: musicvolume 2, but the editor swore on a mistake how this command to use ?
Title: Re:Questions on the editor
Post by: Planck on 13 Sep 2005, 01:04:45
MusicVolume is only used to check what the volume is.
Maybe try using fadeMusic.


Planck
Title: Re:Questions on the editor
Post by: Voron357 on 13 Sep 2005, 01:27:58
Yes, usually I use a command fadeMusic (fadeSound), simply always tormented a question on purpose of a command musicVolume, it would be desirable to depart a canon  :).

Thanks for answer Planck, definitely to like me this forum and a site  :D.
Title: Re:Questions on the editor
Post by: Voron357 on 16 Sep 2005, 12:08:49
Now at me not a simple question as previous :)
This question is more focused on scripts.

Present a situation: there is a machine with the driver inside, you sit down in the machine, include a map and to one click on a map specify a place where the driver of this machine at once will go.

Now a question to what needs to write a script and where that it worked ?
Title: Re:Questions on the editor
Post by: macguba on 16 Sep 2005, 12:46:16
MODUL, when you have a new question, it is better to start a new thread.   ;)

But now we are here ....

You will need the command onMapSingleClick.    Look in the online command reference in the Editors Depot.     The command will go in a script.  You will also need a trigger:-

Trigger  Repeatedly
Condition:  vehicle player != player
On activation:  [vehicle player] exec "moving.sqs"

Making this happen is quite advanced.  If you are new to scripting it will be diffficult.

Title: Re:Questions on the editor
Post by: Voron357 on 17 Sep 2005, 18:11:18
Thanks macguba, next time I and shall act  :-\.

Yes I actually a little that understand in scripts but though in the answer to my question I have received any direction  :).