Home   Help Search Login Register  

Author Topic: LCD_spotlight.sqf (Delayed)  (Read 2585 times)

0 Members and 1 Guest are viewing this topic.

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
LCD_spotlight.sqf (Delayed)
« 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.
« Last Edit: 10 Feb 2009, 17:36:27 by Mandoble »
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Offline Loyalguard

  • Former Staff
  • ****
Re: LCD_spotlight.sqf
« Reply #1 on: 23 Jan 2008, 13:12:45 »
Sounds interesting, I've downloaded it and will check it out.

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re: LCD_spotlight.sqf
« Reply #2 on: 29 Jan 2008, 13:18:45 »
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
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Offline LeeHunt

  • Former Staff
  • ****
  • John 21:25
Re: LCD_spotlight.sqf
« Reply #3 on: 29 Jan 2008, 16:59:45 »
i did try that, didn't work either. maybe you could scrape up a demo when you have time?

Offline hoz

  • OFPEC Site
  • Administrator
  • *****
Re: LCD_spotlight.sqf
« Reply #4 on: 07 Feb 2009, 02:22:40 »
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.
Xbox Rocks

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: LCD_spotlight.sqf (Ready)
« Reply #5 on: 08 Feb 2009, 11:05:25 »
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.