Home   Help Search Login Register  

Author Topic: Hint box  (Read 1261 times)

0 Members and 2 Guests are viewing this topic.

BUNNY

  • Guest
Hint box
« on: 30 Nov 2004, 07:04:24 »
Does the hint box (left upper corner) show to everybody in mp-game? In cti it shows the score only to player who activates it.

How can I make the hint box to show only tothe person who activates the script?

Offline CrashDome

  • Members
  • *
Re:Hint box
« Reply #1 on: 30 Nov 2004, 09:24:49 »
put the hint command in the script

Added:
and No.. it doesn't show to everyone.. at least not to my knowledge
« Last Edit: 30 Nov 2004, 09:26:04 by CrashDome »

Offline Zombie

  • Members
  • *
  • Beware the night, the zombie walks among you
    • USI
Re:Hint box
« Reply #2 on: 30 Nov 2004, 14:54:38 »
it's been my experience that hint and hintc show to everyone, but I only use it in global triggers, perhaps it depends on how the hint is called

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Hint box
« Reply #3 on: 30 Nov 2004, 15:41:21 »
It depends on how the hint is called.

I'm not an MP expert but I believe that scripts are local and triggers are global.

Read snYpir's OFPEC guide to MP mission making in the Editors Depot.
Plenty of reviewed ArmA missions for you to play

Offline Platoon Patton

  • Members
  • *
  • "Barbecue" CreateVehicle getpos LLama
Re:Hint box
« Reply #4 on: 30 Nov 2004, 23:12:32 »
Not all scripts are local offcourse...

When the game starts it reads some scripts global,like init.sqs,intro.sqs.From within this global place U can exec more serverscripts([] exex "globalscript.sqs") or more local scripts:
?!(local server):[] exec "localscript.sqs"Call the hint in global scripts and everybody will see it,call it from a local place and only U will see it.

You can further split up the audiance of the hintbox with the command player or combinations in global scripts like:
?side player == WEST:hint"only WEST can read this"
?!alive player:hint "Rest in Peace dummy :D"
?player==flagowner flag east:hint"keep running dont look back ;)"
?vehicle player ==player:hint"dont leave the keys behind ffs"

Or U can use a Radio trigger with the hint in the On Activation.


http://www.platoon-clan.com/ We always wellcome dedicated OFP players :)

http://www.european-combat-league.com/index.php To play with us in the best OFP league ;)