Home   Help Search Login Register  

Author Topic: Something is wrong with this script.........  (Read 1087 times)

0 Members and 1 Guest are viewing this topic.

RedKnyte

  • Guest
Something is wrong with this script.........
« on: 29 Sep 2002, 10:57:26 »


[attachment deleted by admin]

Offline Wolfrug

  • Addons Depot
  • Former Staff
  • ****
  • Official OFPEC Old Timer
Re:Something is wrong with this script.........
« Reply #1 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.
"When 900 years YOU reach, look as good you will not!"

O Neil

  • Guest
Re:Something is wrong with this script.........
« Reply #2 on: 30 Sep 2002, 01:23:02 »
lol

RedKnyte

  • Guest
Re:Something is wrong with this script.........
« Reply #3 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.