share/hedgewars/Data/Scripts/Multiplayer/No_Jumping.lua
changeset 4893 353781305c07
parent 4662 63aafc9c2a81
child 5325 261b79ba22b1
equal deleted inserted replaced
4892:b0610081ee95 4893:353781305c07
     2 -- NO JUMPING
     2 -- NO JUMPING
     3 --------------------------------
     3 --------------------------------
     4 
     4 
     5 loadfile(GetDataPath() .. "Scripts/Locale.lua")()
     5 loadfile(GetDataPath() .. "Scripts/Locale.lua")()
     6 
     6 
     7 function onGameStart()
     7 function onGameInit()
     8 	ShowMission(loc("NO JUMPING"), loc("- Jumping is disabled"), loc("Good luck out there!"), 0, 0)
     8     Goals = loc("Jumping is disabled")
     9 end
     9 end
       
    10 
       
    11 --function onGameStart()
       
    12 --	ShowMission(loc("NO JUMPING"), loc("- Jumping is disabled"), loc("Good luck out there!"), 0, 0)
       
    13 --end
    10 
    14 
    11 function onNewTurn()
    15 function onNewTurn()
    12 	SetInputMask(band(0xFFFFFFFF, bnot(gmLJump + gmHJump)))
    16 	SetInputMask(band(0xFFFFFFFF, bnot(gmLJump + gmHJump)))
    13 end
    17 end
    14 
    18