Home   Help Search Login Register  

Author Topic: Alarms  (Read 619 times)

0 Members and 1 Guest are viewing this topic.

General Goober

  • Guest
Alarms
« on: 15 Feb 2003, 00:07:13 »
I have recently obtained Gunslingers Alarm Zone script which sets up an alarm to let the player know that an enemy is present in a particular zone.

Here is the script:

;Basic message script
;Copyright 2001 James "Gunslinger" Wohlever
;8022001-2316
;Get the message to print

_msg=_this select 0

;Print it!

TitleText [_msg,"plain down"]

;Exits

exit

My question is.  How do you set it up so that the other player does not know that his presence has been detected?


mcnils

  • Guest
Re:Alarms
« Reply #1 on: 15 Feb 2003, 05:24:32 »
titletext shows up to all players, also hint boxes,
but you can try with the sidechat, you place a "dummy unit" that is on the same side of the player(s) you want to know the presence of the enemy units in a certain zone, when the trigger activates, it makes say the detection message to the "dummy unit", this is visible only for the side witch the "dummy unit" is on.


this was only the teoretical part, sorry that i cant help you more.
« Last Edit: 15 Feb 2003, 05:28:00 by mcnils »

General Goober

  • Guest
Re:Alarms
« Reply #2 on: 17 Feb 2003, 12:31:40 »
Thanks.  I will take another look at it.