OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: RedKnyte on 29 Sep 2002, 10:57:26

Title: Something is wrong with this script.........
Post by: RedKnyte on 29 Sep 2002, 10:57:26


[attachment deleted by admin]
Title: Re:Something is wrong with this script.........
Post by: Wolfrug on 29 Sep 2002, 12:32:53
Uh oh, looks like an outdated script. As you can see, it uses the "allowdammage" command (which is no longer valid). I think there was some problem with this, with rappelling script killing everyone unless they were allowdammage falsed...

Maybe if you put a "_GroupUnits select _count setDammage 0" in the #Check area, the unit would regain full health when touching the ground (thus instantly reviving it), making it look like:

#Check
_GroupUnits select _Count setDammage 0
_Count = _Count + 1
? (_Count >= _Everyone) : Goto "Finish"

Goto "Next"

also you might as well delete the "allowdammage" statements since they don't work.

Obviously, this only works for AI jumps, as you can't revive a Player.

That's all I can think of...although there's probably a solution to this rappelling problem somewhere  :P Haven't used these kinds of scripts tho...

Wolfrug out.
Title: Re:Something is wrong with this script.........
Post by: O Neil on 30 Sep 2002, 01:23:02
lol
Title: Re:Something is wrong with this script.........
Post by: RedKnyte on 30 Sep 2002, 18:46:33
Darn! How I wished scripters will make a more advanced script since the OFP community and technology has already advanced....anyways, thx for your comments.....and whoever PLRSniper is, pleeze modify the script thk you.