galzohar 31 Posted August 28, 2013 hasWeapon returns false, even though it is added with addWeapon. It also does not appear in items. So what gives? Share this post Link to post Share on other sites
kylania 568 Posted August 28, 2013 (edited) "B_UavTerminal" in assignedItems player; Should work I think Edited September 6, 2013 by kylania Share this post Link to post Share on other sites
galzohar 31 Posted September 6, 2013 Thanks. It needs to be "B_UavTerminal" though, as it appears in is case-sensitive. Share this post Link to post Share on other sites
kylania 568 Posted September 6, 2013 Fixed, good catch! :) Share this post Link to post Share on other sites
r.flagg 11 Posted September 24, 2013 Cool. Building on this, is there a way to detect if player then successfully connects to UAV? As in, tsk1 is get a terminal, tsk2 is connect to UAV? Share this post Link to post Share on other sites
kylania 568 Posted September 24, 2013 getConnectedUav Share this post Link to post Share on other sites
galzohar 31 Posted September 24, 2013 Or as a condition to check connection to any UAV: !(isNull (getConnectedUav player)) Share this post Link to post Share on other sites
r.flagg 11 Posted September 24, 2013 Thanks very much guys! Worked like a charm. Share this post Link to post Share on other sites