OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting Resources Beta Testing & Submission => Topic started by: LCD on 23 Jan 2008, 13:06:00
-
dis script makes a spotlight move on a certain path searching for a target from an array... once it finds 1 da spotlight follows it till da target is dead or lost... da script also conects a sniper 2 da spotlight and has him fire on ny1 it follows...
activation :
[SpotlightName,ArrayOfTargets,SniperName,RangeOfArc,StartingDirection] execVM "LCD_spotlight.sqf"
for example da next line in da init of a spotlight :
[this,units group player,Snypir,230,0] execVM "LCD_spotlight.sqf"
will make a spotlight dat will move in da arc between north and southwest.... and when it finds a unit from da players group it will follow dat unit and have da sniper (or any soldier) called Snypir shoting on da unit :D
-----------------------------------------------------
Unluckily i dont have time 2 make an example mision... and i hate writing comments in da scruipt itsef :P but still feel free 2 use it or edit it or do watever :D
LCD OUT
Download updated with a working mission.
-
Sounds interesting, I've downloaded it and will check it out.
-
i cant check now... will check da example on da 18th of feb (ill have ArmA acces 4 1 day :D) but did u man da light ?
LCD OUT
-
i did try that, didn't work either. maybe you could scrape up a demo when you have time?
-
I updated the download to include a working mission to demonstrate the script. Its probably ready for review. LCD has been away hence the lack of reply.
-
Script has no version, readme is unreadable or not understandable (well, I can understand it, but then it is unnaceptable). Script header has no usage section.