ok a friend of mine from GHF clan has helped me build this, we think the problem was because of the way i created the ai, they werent assigned to a group therefore they would not listen to the commands, hopefully this is the final bug i'll encounter
>>----------------------------------raid.sqs
Hintc "Mafia boss is sending out a group of technicals, there ETA is 5 min until they arrive into our lovely town, Cops start plotting your attack and lay down some traps! Civs either help the cops, join in, or hide!"
~10
#raid1
technical1 = "hiluxmg" CreateVehicle getpos Gamelogic1
technical2 = "hiluxmg" CreateVehicle getpos Gamelogic2
technical3 = "hiluxmg" CreateVehicle getpos Gamelogic3
technical4 = "hiluxmg" CreateVehicle getpos Gamelogic4
technical5 = "hiluxmg" CreateVehicle getpos Gamelogic5
~0.2
rebel1d = "HK_MAF2_HKG37" CreateUnit [getpos technical1,Null,"this setBehaviour "combat"", 1, private]
rebel2d = "HK_MAF2_HKG37" CreateUnit [getpos technical2,Null,"this setBehaviour "combat"", 1, private]
rebel3d = "HK_MAF2_HKG37" CreateUnit [getpos technical3,Null,"this setBehaviour "combat"", 1, private]
rebel4d = "HK_MAF2_HKG37" CreateUnit [getpos technical4,Null,"this setBehaviour "combat"", 1, private]
rebel5d = "HK_MAF2_HKG37" CreateUnit [getpos technical5,Null,"this setBehaviour "combat"", 1, private]
rebel1g = "HK_MAF2_HKG37" CreateVehicle [getpos technical1,Null,"this setBehaviour "combat"", 1, private]
rebel2g = "HK_MAF2_HKG37" CreateVehicle [getpos technical2,Null,"this setBehaviour "combat"", 1, private]
rebel3g = "HK_MAF2_HKG37" CreateVehicle [getpos technical3,Null,"this setBehaviour "combat"", 1, private]
rebel4g = "HK_MAF2_HKG37" CreateVehicle [getpos technical4,Null,"this setBehaviour "combat"", 1, private]
rebel5g = "HK_MAF2_HKG37" CreateVehicle [getpos technical5,Null,"this setBehaviour "combat"", 1, private]
~0.2
rebel1d moveInDriver technical1
rebel2d moveInDriver technical2
rebel3d moveInDriver technical3
rebel4d moveInDriver technical4
rebel5d moveInDriver technical5
rebel1g moveInGunner technical1
rebel2g moveInGunner technical2
rebel3g moveInGunner technical3
rebel4g moveInGunner technical4
rebel5g moveInGunner technical5
~0.5
[rebel1d] exec "technical.sqs"
[rebel2d] exec "technical.sqs"
[rebel3d] exec "technical.sqs"
[rebel4d] exec "technical.sqs"
[rebel5d] exec "technical.sqs"
exit
>>----------------------------------technical.sqs
_unit = _this select 0
? _unit == rebel1d : _target = bankstop1
? _unit == rebel2d : _target = bankstop2
? _unit == rebel3d : _target = bankstop3
? _unit == rebel4d : _target = bankstop4
? _unit == rebel5d : _target = bankstop5
#start
~3
_unit domove getpos _target
exit
-----------------------------------------------------------------------------------------
The problem is im getting an error with
rebel1d = "HK_MAF2_HKG37" CreateUnit [getpos technical1,Null,"this setBehaviour "combat"", 1, private]
unknown operator combat.... if anyone can help me with this new prob TY..
:-\ :-X