I know how to send a message to all players duh, but dunno how to send a message to one.
scripting - one player message
Moderator: Moderators
scripting - one player message
How to send a message to 'one' player (when he hit a trigger)?
I know how to send a message to all players duh, but dunno how to send a message to one.
I know how to send a message to all players duh, but dunno how to send a message to one.
- HDL_CinC_Dragon
- Brigadier General
- Posts: 574
- Joined: Mon Dec 22, 2003 8:32 pm
- HDL_CinC_Dragon
- Brigadier General
- Posts: 574
- Joined: Mon Dec 22, 2003 8:32 pm
but what if my entire script uses the
and not the
style stuff and i dont want to use the local.player iprint? is it possible for this to work?
Code: Select all
$targetnameCode: Select all
local.targetname = $targetnameI'm not fully understanding what you are asking.[HDL]-{Gen} Dragon wrote:but what if my entire script uses the
and not theCode: Select all
$targetname
style stuff and i dont want to use the local.player iprint? is it possible for this to work?Code: Select all
local.targetname = $targetname
- HDL_CinC_Dragon
- Brigadier General
- Posts: 574
- Joined: Mon Dec 22, 2003 8:32 pm
So it would print to one player? Well, they would have to come across a trigger to do it. You can't just have stuff happen then put iprint "hello" and it print to a specific player. You scan all clients with a script with an array and a for loop and have it print to a specific player like this:[HDL]-{Gen} Dragon wrote:is there anyway to i can just make itand nothing else??Code: Select all
iprint "yadda"
$player[local.array] iprint "hello"
- HDL_CinC_Dragon
- Brigadier General
- Posts: 574
- Joined: Mon Dec 22, 2003 8:32 pm

