monaewae 0 Posted August 25, 2002 Has anybody noticed that certain lines of script do not work after the resistance upgrade has been installed. This line... </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE"> ?(leader _groupname distance _objective <= 2n): leader _groupname action ["TAKE FLAG", nearestobject[leader _groupname, "Flags1"]] <span id='postcolor'> worked for version 1.3 (the leader of the group would take the flag) but kicks up an error in V1.75. </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE"> |#| type number, expected object<span id='postcolor'> In the line </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">_objective<span id='postcolor'> refers to the flag itself. I have noted no changes in the new command reference to the commands </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">action<span id='postcolor'> and </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">nearest object<span id='postcolor'> Could V1.3 scripts not working in V1.75sombody please tell me why this line does not work. Share this post Link to post Share on other sites
Guest Posted August 25, 2002 Search for "nearestobject" in this forum. The command has been changed in 1.75. Share this post Link to post Share on other sites
monaewae 0 Posted August 25, 2002 There is a bug in the nearestcommand, In the mean tIme i will try to find a way round the problem. Thanks for the help. Share this post Link to post Share on other sites