Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Headlight  (Read 2605 times)

0 Members and 1 Guest are viewing this topic.

cpt.Hawkeyez

  • Guest
Headlight
« on: 29 Jan 2003, 05:21:12 »
Having some trouble with this script test it out for me you need a soldier named frank and it is [] exec "headlight.sqs"

thanks tell me whats wrong

CymPaTheeY
« Last Edit: 29 Jan 2003, 05:21:43 by CymPaTheeY »

Jester

  • Guest
Re:Headlight
« Reply #1 on: 02 Feb 2003, 02:33:20 »
I get an error in the setvelocity [0,0,1] says its invalid.

Liquid_Silence

  • Guest
Re:Headlight
« Reply #2 on: 02 Feb 2003, 15:10:51 »
Corrected
Code: [Select]
;start bookmark
#start
_pos = getpos frank
_flare = "flare" camCreate [_pos select 0, _pos select 1, (_pos select 2) + 1.7]
~0.01
_counter = 0
;loop bookmark
#loop1
_pos = getpos frank
_flare setPos [_pos select 0, _pos select 1, (_pos select 2) + 1.7]
~0.01
_counter = _counter + 0.01

?_counter == 16.8 : deleteVehicle _flare; goto "start"

goto "loop1"