misinformed 0 Posted June 27, 2007 Ive got a trigger activated by radio alpha. This then calls a nice little status hint box listing various mission specific things. What i want is for the hint box to only show when you are the player who activated radio alpha. Is that possible? Ive been messing around with localize in my script thats called by the radio trigger. ie Quote[/b] ]hint format [localize "@SZU_18",(PointE)] But it wont work, possibly due to that the radio trigger is a global space and that when in the script its local to everyone? Any ideas? Share this post Link to post Share on other sites
ManDay 0 Posted June 27, 2007 Hm... Good question indeed First of all it has to be hint format[ "%1",localize "SZU_18" ]. I'm not sure whether you understand what "localize" means anyway. It doesnt have do do anything with "local" and "global" issues. As far as I understand it should be possible to achieve that. Actually triggers seem to be executed globally cos the condition matches on ALL clients. but not always! triggers are actually local. this can be seen when operating with game logics. having a trigger which is triggered by a game logic will only be executed on the server because the GL only exists there. so i think what you tried should actually work with the correct syntax. but watch out! as soon as u use a command this will take place on all clients. no matter where the condition hit. Share this post Link to post Share on other sites
misinformed 0 Posted June 28, 2007 Heh yea got it in my head that it was something to do with locality all of a sudden. Yea im not sure it will be ok just by changing that little bit of code which doesn't even have (like you said) the slightest bit to do with locality. Its just to do with the stringtable. Especially since the radio trigger broadcasts itself to all clients. The only thing local to the player that i can be certain of is the player itself. So im going to have a look at how evolution keeps ranks local. Share this post Link to post Share on other sites
fasad 1 Posted June 28, 2007 I'm pretty sure a radio type trigger will execute on all clients if any player uses that radio call. I'm not sure about the server, but I assume it would execute on it too. You'll need to filter the effects to the desired clients somewhere after the trigger executes. Share this post Link to post Share on other sites
misinformed 0 Posted June 28, 2007 Unless anyone's got a better way i think ill just create a new action in the action menu that then calls the hint/script. Share this post Link to post Share on other sites