Jump to content
Sign in to follow this  
BittleRyan

Getting AI to 'paint' targets?

Recommended Posts

Solved. Thank you F2k, but here is what i found. AI dont actually paint it, but you can do it through a trigger or through the units INT line.

Usage: Put this in the units int line or on the activation line on a trigger:

nul=[TARGETNAMEGOESHERE] execVM "lasertarget.sqf";

Name the file with the code below:

lasertarget.sqf

Make sure you name your target and change it in the line you put in the Int line.

_target = _this select 0;
_laze = "LaserTargetW" createVehicle getPos _target;
_laze attachTo [_target,[0,0,0]];
waitUntil {!alive _target};
deleteVehicle _laze;

Edited by BittleRyan

Share this post


Link to post
Share on other sites

Well i dont really need to actually have AI paint it, i need it painted, i dont care how it is done. I tried to pallet thing, didnt seem to work though.

---------- Post added at 06:23 PM ---------- Previous post was at 06:17 PM ----------

Actually. i figured it out after reading several pages in a thread from forever ago.

Use this script:

Usage: Put this in the units int line or on the activation line on a trigger:

nul=[TARGETNAMEGOESHERE] execVM "lasertarget.sqf";

Name the file with the code below:

lasertarget.sqf

Make sure you name your target and change it in the line you put in the Int line.

_target = _this select 0;
_laze = "LaserTargetW" createVehicle getPos _target;
_laze attachTo [_target,[0,0,0]];
waitUntil {!alive _target};
deleteVehicle _laze;

Share this post


Link to post
Share on other sites

I came to this thread hoping to be useful and to direct you to my thread "from forever ago" :( But guess you found it. Don't know if that still counts as my good deed for the day.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×