ZiRo 0 Posted March 20, 2004 <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_friendsclosedead = ({_x distance _leadergroup < 100} count (list _sidetrigger)) How do i change that to get the amount of DEAD people within 100 that are in the list _sidetrigger? -ZiRo Share this post Link to post Share on other sites
ZiRo 0 Posted March 20, 2004 Also how can i "add" to a variable. for example <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_side = (side _startleader) How can i turn that into the side + the word trigger: so if the side was east it would be easttrigger or westtrigger or guertrigger etc. I thought about <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_sidetrigger = _side + trigger but i wasnt sure and havent tested. Thanks ZiRo Share this post Link to post Share on other sites
bn880 5 Posted March 20, 2004 <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_friendsclosedead = ({_x distance _leadergroup < 100} count (list _sidetrigger)) How do i change that to get the amount of DEAD people within 100 that are in the list _sidetrigger? -ZiRo <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_friendsclosedead = {_x distance _leadergroup < 100&&!(alive _x)} count (list _sidetrigger) Share this post Link to post Share on other sites
bn880 5 Posted March 20, 2004 Also how can i "add" to a variable.for example <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_side = (side _startleader) How can i turn that into the side + the word trigger: so if the side was east it would be easttrigger or westtrigger or guertrigger etc. I thought about <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_sidetrigger = _side + trigger but i wasnt sure and havent tested. Thanks ZiRo _sidetrigger= format["%1trigger",_side] or, _sidetrigger= format["%1trigger",side _startleader] Share this post Link to post Share on other sites