iceman77 18 Posted November 30, 2007 I have a CTF map that has an "out of bounds"...I have  trigger placed... Activation : Blufor , repeatadly Condition : this OnAct: hint format [" %1 is going out of bounds",player] The problem is that when ever ANY Blufor goes out of bounds..instead of saying that "Joe Smo is going out of bounds"  it says  "Texas is going out of bounds"....(my name)...when clearly im not..How do i fix this??.. Share this post Link to post Share on other sites
Sniperwolf572 758 Posted November 30, 2007 hint format [" %1 is going out of bounds",player] Try replacing it with: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">{hint format["%1 is going out of bounds",_x]} foreach thislist Share this post Link to post Share on other sites
iceman77 18 Posted November 30, 2007 ok...I will try this...thanks for the reply.. Share this post Link to post Share on other sites
iceman77 18 Posted November 30, 2007 This works great!!...You are all over the forums with your help..GREAT JOB! only one question...why does it say Remote?? A-1-1 Joe Smo REMOTE is heading out of bounds.... anyways , it's no big deal ..it works fine.. Share this post Link to post Share on other sites
HitmanFF 6 Posted November 30, 2007 only one question...why does it say Remote??A-1-1 Joe Smo REMOTE is heading out of bounds.... Using the name function will resolve this: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">{hint format["%1 is going out of bounds", name _x]} foreach thislist Share this post Link to post Share on other sites
baddo 0 Posted November 30, 2007 Just to note: it was wrong because YOU are the player in your computer, aren't you. Share this post Link to post Share on other sites
iceman77 18 Posted December 1, 2007 I will try this Hitman...thanks  Quote[/b] ]Just to note: it was wrong because YOU are the player in your computer, aren't you. Baddo..I have no idea what your saying...Could you please elaberate further? Share this post Link to post Share on other sites
Sniperwolf572 758 Posted December 1, 2007 Baddo..I have no idea what your saying...Could you please elaberate further? <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">hint format [" %1 is going out of bounds",player] Baddo is saying that it always showed yourself as "out of bounds" because the "player" always means the player that you control. So, that bit of code, when executed on your computer, referred to you, but on someone else's machine, it referred to them, because player actually points to the entity the player is controlling on the machine that the command is executed. If players Kirk, Bones and Scotty joined a server with the original line of code, and Bones went out of bounds this is what would happen on each computer: Bones' PC: "Bones is going out of bounds" Kirk's PC: "Kirk is going out of bounds" Scotty's PC: "Scotty is going out of bounds" Hope I've made it a tiny bit clear. Share this post Link to post Share on other sites
iceman77 18 Posted December 2, 2007 Yes, it's clearer now...Thanks... Share this post Link to post Share on other sites