I ve been looking in the radiant docu but fount no useful information
there are different types to print an message on screen.
in my case im searching a way to print it somewhere on screen by givin coordinates AND only on the client machine that triggers.
I used:
$player iprint STRING -> only client but no coordinates
locprint xoff yoff "STRING" -> coordinates but on all players
so whats the way to give printcoordinates AND only printin to the client it triggers?
thx
print types
Moderator: Moderators
print types
If you grab in toilets don´t wonder that your hands are brown.
hmh
now i tried $player iprint blblbla
and noticed it screens also on all players - LOL
there must be a way - i think somelike of localization.dat use
if you kill someone it writes only to you that youve killed someone.
but how? - ill try to find it in the pk3s
thx anyway
If you grab in toilets don´t wonder that your hands are brown.
Don't use $player iprint. You're sending the command to the entire array of players. Select one player to send the command to and it will work.
Example:
Example:
Code: Select all
$player[1] iprint "You're player #1" 1
if($player[2])
$player[2] iprint "You're player #2" 1
hmh
interesting.
but then there is the problem to teach the trigger whicht player has activated it to send him the message ?
or should i substituute them but with what?
i think iam nerving already - sorry for that but this is a very important part of my map
but then there is the problem to teach the trigger whicht player has activated it to send him the message ?
or should i substituute them but with what?
i think iam nerving already - sorry for that but this is a very important part of my map
If you grab in toilets don´t wonder that your hands are brown.
Use parm.other for that. It's always set to the last guy who activated a trigger.
Example:
Example:
Code: Select all
$mytrigger waittill trigger
local.player = parm.other
local.player iprint "You pressed the button / planted a bomb / did something dangerous or stupid"
k
It works JV.
I left "$mytrigger waittill trigger" out coz got already an threadcall by the trigger (thats what i understood its for).
The funny thing is if 1 prob iz solved 2 another comez - hehehe as you see in other posts.
I left "$mytrigger waittill trigger" out coz got already an threadcall by the trigger (thats what i understood its for).
The funny thing is if 1 prob iz solved 2 another comez - hehehe as you see in other posts.
If you grab in toilets don´t wonder that your hands are brown.
