Home   Help Search Login Register  

Author Topic: halo problems  (Read 421 times)

0 Members and 1 Guest are viewing this topic.

TH

  • Guest
halo problems
« on: 30 Jul 2004, 23:06:50 »
I used this in a script
Code: [Select]
[_unit] Exec "HALO.sqs"and it works when i do it on my computer but not with other players.. i also tried going through every unit and putting in thier init line
Code: [Select]
[this] exec "HALO.sqs"and again it works on my computer but not on a server with other people...can anyone help? ???

CopyrightPhilly

  • Guest
Re:halo problems
« Reply #1 on: 31 Jul 2004, 10:40:19 »
whats in the helo sctip???

and also whats it doing?

cheers, Philly

TH

  • Guest
Re:halo problems
« Reply #2 on: 31 Jul 2004, 17:27:34 »
Code: [Select]
_unit = _this select 0

? (debug) : player globalchat Format ["Entering HALO.sqs: _unit = %1", _unit]

? (IsNull _unit):Goto "End"

#Init
HALO_drop_avail=true
HALO_chute_out=false

#Start
~2
?!(Alive _unit):Goto "End"
@(HALO_drop_avail)
@(Getpos _unit Select 2)>200 OR !(Alive _unit)
? !(Alive _unit) : goto "End"

_vcl=Vehicle _unit

? (_unit != _vcl) && (CanMove _vcl):_action1=_vcl AddAction [Format["HALO Drop (%1)", name _unit],"Main\HaloDrop.sqs"]; _action2=_vcl AddAction ["HALO AI","Main\HaloDropAI.sqs"]; goto "Wait"

goto "Start"

#Wait
? (debug) : player globalchat Format ["HALO.sqs: actions added"]

@(Getpos _unit Select 2)<200 OR !(HALO_drop_avail) OR !(Alive _unit)
?!(Alive _unit):Goto "End"
_vcl RemoveAction _action1
_vcl RemoveAction _action2
? (debug) : player globalchat Format ["HALO.sqs: actions removed"]

Goto "Start"

#End
? (debug) : player globalchat Format ["Exiting HALO.sqs"]
Exit
and it calls the other scripts...