OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: DDT on 13 Jun 2004, 04:07:54
-
I need a script that can make the AI respawn at a different point on the map and then join the fight no matter where i have moved to. Basically once i kill an ememy tank or infantry he is respawned and then moves to where the action is taking place no matter where i am at. I also need them to olny respawn a few times each.
-
Is there anything that is even close to what i am talking about? Or can somebody modify a script for me?
-
Once the unit is dead, you can check his last position quick with the GetPos command.
Set a waypoint to this position by script (maybe with a nice placement radius?)
Now, if the vehilce respawns it will head directly to this waypoint!
-
ive tryed that but i dont think it does work becouse ...
the Vehicle is respawned will the hostile AI ignore like it was dead
-
I don't think that's true.
Ever played the basic BIS deathmatch map that plays in La Trinite, with AI?
Even when respawend, the AI still fires at eachother.