hie everybody.
i try to assign a destination to my allied (single player) with the "clicitem" and binoculars.
all is allright when when there are no enemys.
if i add enemys, the bot which have to run to the point assigned by the system wait for the dead of all enemy before going.
in fact if he begin to fight we have to wait for he finish.
so i try to disable its ai with $john exec global/disable_ai.scr in the spawn level of the main method.
but nothing more
how can i do to do it?
thanks for your wondefull answers.
Tropheus
bot disable.scr
Moderator: Moderators
-
Bjarne BZR
- Site Admin
- Posts: 3298
- Joined: Wed Feb 05, 2003 2:04 pm
- Location: Sweden
- Contact:
it's what i did (i think).
have a look to my script and tell me where i'm wrong.
tropheus
have a look to my script and tell me where i'm wrong.
thanksmain:
exec global/ai.scr
exec global/loadout.scr maps/test_deployer.scr
level waittill prespawn
level waittill spawn
waitthread global/items.scr::add_item "binoculars"
$player item weapons/colt45.tik
$player item weapons/thompsonsmg.tik
$player item weapons/springfield.tik
$player item weapons/M2frag_grenade_sp.tik
$player ammo rifle 200
$player ammo smg 1000
$player ammo grenade 4
$player ammo pistol 1000
$player useweaponclass smg
$player ammo heavy 6
$john.health=300
$player useweaponclass heavy
$john exec global/disable_ai.scr
level.script = test_deployer.scr
end
////////////////////////////////////
voiture:
$john runto $voiture_path
wait move
$john exec global/enable_ai.scr
end
tropheus

