Zero-K icon indicating copy to clipboard operation
Zero-K copied to clipboard

cant jump off surfboard

Open sprunk opened this issue 12 years ago • 1 comments

fix should be easy (steal force unload from air transports and use it before jump if jumper is surfing). i might do it on the weekend.

sprunk avatar Sep 30 '14 17:09 sprunk

can I try? I have experience with Air Transport drop and jumpjet gadget.

I think its simply done by calling the following just before jumping:

  • local env = Spring.UnitScript.GetScriptEnv(unitID)
  • Spring.UnitScript.CallAsUnit(unitID,env.DropUnit,cargoUnitID)

Going to try it first and possibly inspect jumpjet gadget (maybe tweak comment or something).

xponen avatar Jan 26 '15 16:01 xponen