OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: johan_d2 on 21 Jan 2006, 13:56:49
-
The script from Igor Drukov, works well, but when the leader gets killed the respawn stop.
Is there a way to keep it going?
Johan
PS: link to the script: http://www.ofpec.com/editors/resource_view.php?id=938
-
Yes, there's a way, it's going to be v2.00, to be uploaded hopefully by tomorrow night (Sunday, January 22nd).
Battles will now last for EVER ;D.
Glad you seem to like the script !
-
Yes I do, and will test your new version too.. :-*
-
Updated :) (http://www.ofpec.com/editors/resource_view.php?id=938).
-
I tested and it works, you now have probably on eof the best and easiest respawn script ever created. ;D
I saw it didnt remove the dead bodies, and my PC can handle a lot of them, so I like it this way.. now there are piles of them.
Maybe with an extra option for slower computers to deletevehicle them?
Further testing now..
Time for some napalm to add here, VC is rolling over us..
Johan
:-*
-
I placed a VTE chopper the same as my infantry, but it wouldnt respawn.
Do I need to add the crew manually? of is something else wrong?
Johan
-
I've retested the script, and I've had no problem with respawning choppers.
The thing is, if there's only one type of chopper in the air pool of a given side, there can be no more than one chopper per group. To remove this feature, which I did for land vehicles but not for air ones, remove the following lines from the script under #SpawnAir :
_OKS_count_vehic_temp=0
{if ((vehicle _x != _x) and (_x==driver vehicle _x)) then {_OKS_count_vehic_temp=_OKS_count_vehic_temp+1}} forEach units _grp
? _OKS_count_vehic_temp >= (count (OKS_global select _j+12)) : exit
-
Gonna test Sir!
BBL!!