Home   Help Search Login Register  

Author Topic: Scripts  (Read 1273 times)

0 Members and 2 Guests are viewing this topic.

General Goober

  • Guest
Scripts
« on: 17 Feb 2003, 12:29:28 »
How do you set your scripts so that only one side sees messages.  For instance, using zone alarm script which activates and advises both sides of activation.  Same thing happens when you use radio to call transport or whatever.  Want to set it up so that only one side receives the messages and sounds.

Deadman

  • Guest
Re:Scripts
« Reply #1 on: 17 Feb 2003, 22:58:52 »
Try using sidechat instead of hint or titletext

create a dummy unit on the side you want the message to be shown to and when you want the message to appear just put

(name of unit) sidechat "text to be shown"

that should do it for you. i think :)

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
Re:Scripts
« Reply #2 on: 18 Feb 2003, 19:31:24 »
?Side Player == West:titletext[format["Awesome Warrior\n%1\n has capped\n %2!",name _flagowner,_flagname],"PLAIN DOWN"]



The above line not only shows you how to display to only one side, it
 also shows you how to name an individual that triggered the script


For your respawn warning

use the following in a trigger

Titletext [format["%1 \n You are entering an EAST Safezone \n Turn around or die!",name(thisList select 0)],"Plain down"]

if in a script use the following
?Side Player == West:Titletext [format["%1 \n You are entering an EAST Safezone \n Turn around or die!",name(thisList select 0)],"Plain down"]


The above line may also work in the trigger but i havent tested it
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123