Reezo 45 Posted March 10, 2011 Hello everybody, I am trying to improve the IED detection and disposal script and I am now working on suicide bombers or triggermen. I would like to make it so that a triggerman does not trigger a remote bomb when at least one soldier is keeping his gun aimed at him. I would need this to simulate the fact that you are searching his car or his surroundings while one of the guys in the team keeps the suspected person aimed to prevent him from doing something dangerous (like triggering the bomb). How could I do that? With CursorTarget maybe? Any help is highly appreciated, Share this post Link to post Share on other sites
Nephris1 10 Posted March 10, 2011 Well you already gave the answer yourself! So yes CursorTarget is the right choice. As i suppose u dont need to take care for distances < 200m, it will work . Share this post Link to post Share on other sites
Reezo 45 Posted March 10, 2011 (edited) Thanks! It works, actually. The problem was a bad interaction between the caller script and the actual script with cursorTarget. Edited March 11, 2011 by Reezo Share this post Link to post Share on other sites
Cyborg11 10 Posted March 11, 2011 Maybe this is something for you too :) Share this post Link to post Share on other sites
demonized 20 Posted March 11, 2011 (edited) NOTE: cursortarget only works when the knowsabout is 4 and range is within 50m. Oh my, this was due to a distance check in the script i used awhile ago... Sorry for the confusion. Edited March 11, 2011 by Demonized Share this post Link to post Share on other sites
.kju 3245 Posted March 11, 2011 Cannot confirm this. Range works over 500m here. A certain knowsabout level seems needed, yet 1.6 works here for the 500m one. Share this post Link to post Share on other sites
demonized 20 Posted March 11, 2011 (edited) @PvPScene - You are right. Edited March 11, 2011 by Demonized Share this post Link to post Share on other sites
.kju 3245 Posted March 11, 2011 No worries mate - thanks to the confirmation. :) Share this post Link to post Share on other sites