OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: nominesine on 13 Aug 2004, 15:37:28

Title: Hinting in MP
Post by: nominesine on 13 Aug 2004, 15:37:28
Some questions about hints:

Does the "hint" command work in MP if I use it in a trigger? Or will it only be shown on the server??? (i.e hint "Go to next waypoint!")

Im sorting out some mission ideas, but I donÂ't have access to OFP on this computer and canÂ't test the command myself. Anybody who knows?!?
Title: Re:Hinting in MP
Post by: Zombie on 13 Aug 2004, 15:56:48
hint works just fine in MP, I use it like this:
hint format [blah blah blah\nnext line blah] but I only use it in scripts, never tried in a trigger
Title: Re:Hinting in MP
Post by: macguba on 13 Aug 2004, 17:11:10
I suspect that if you use a hint in a script it will appear only on the computer local to that script, but if you use it in a trigger it will appear on all computers.
Title: Re:Hinting in MP
Post by: dmakatra on 13 Aug 2004, 17:31:30
Remember that most servers play on veteran and thus will not see the WP you want them to go to.

:beat: *Le Getto De Shot* :beat:
Title: Re:Hinting in MP
Post by: olseric on 14 Aug 2004, 13:45:57
When you trip a trigger, the condition is executed globally, so, yes, they should show up to everyone.
Title: Re:Hinting in MP
Post by: Zombie on 14 Aug 2004, 14:59:58
I have never had any issues using hint in a script and everyone getting it, same as hintc  they both are global
Title: Re:Hinting in MP
Post by: olseric on 14 Aug 2004, 18:14:14
Depends upon how the script is called.

If it's called through an addAction, it'll execute locally.

Triggers execute globally, thus, everyone will see it in a script.