Home   Help Search Login Register  

Author Topic: how do you add....  (Read 1231 times)

0 Members and 2 Guests are viewing this topic.

Foo

  • Guest
how do you add....
« on: 31 Jan 2003, 12:39:35 »
....the radio command (0-0-1) that lets you see score?
(west 0-East 0 or such-like)

Also, how do you make messages specific to a player? What i mean is that when a guy, we'll call him "bob" takes the flag, it will say "bob has the flag"

I once knew how to do this, but ive forgotten...i did it a coupla weeks ago unintentionally as well, but i cant remeber how...something to do with "player has the flag" or something similar i think... ::)

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
Re:how do you add....
« Reply #1 on: 31 Jan 2003, 16:43:54 »
titletext[format["Hail the fallen HERO\n%1\n %2 is lying on his blood soaked corpse\n You have 60 seconds to retrieve it",name _flagowner,_flagname],"PLAIN DOWN"]

%1 = name_flagowner

As for the radio problem, cant help you, i dont do it that way
« Last Edit: 31 Jan 2003, 16:46:17 by Terox »
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123

Foo

  • Guest
Re:how do you add....
« Reply #2 on: 31 Jan 2003, 17:21:33 »
so how do u do it?

Pope_Zog

  • Guest
Re:how do you add....
« Reply #3 on: 03 Feb 2003, 15:07:39 »
1) Create a trigger 0 by 0 with activation "Radio Alpha" set to trigger repeatedly. Leave the condition as "this" and when activated (on activation) put something like:

titleText[ format["West %1 - East %2", ScoreWest, ScoreEast], "PLAIN"]

where the names of your score variables replace "ScoreWest" and "ScoreEast".

2) What Terox said (name [player object] will give you the player's name.) Example:

titleText[ format["%1 has the Soviet flag!", name (flagOwner SovietFlag)], "PLAIN DOWN"]

where "SovietFlag" is the name given to your Soviet flagpole.

Pope Zog