share/hedgewars/Data/Scripts/Multiplayer/TechRacer.lua
changeset 15788 acf70c44065b
parent 15404 0e3bf53dfe47
child 15964 d18261ddac4a
equal deleted inserted replaced
15787:8bb050e8e40f 15788:acf70c44065b
  1045 		end
  1045 		end
  1046 
  1046 
  1047 	end
  1047 	end
  1048 
  1048 
  1049 
  1049 
  1050 	-- start the player tumbling with a boom once their turn has actually begun
  1050 	-- start the player with a boom once their turn has actually begun
  1051 	if racerActive == false then
  1051 	if racerActive == false then
  1052 
  1052 
  1053 		if (TurnTimeLeft > 0) and (TurnTimeLeft ~= TurnTime) then
  1053 		if (TurnTimeLeft > 0) and (TurnTimeLeft ~= TurnTime) then
  1054 
  1054 
  1055 			-- if the gamehas started put the player in the middle of the first
  1055 			-- if the gamehas started put the player in the middle of the first
  1074 	elseif (activationStage == 201) and (TurnTimeLeft > 0) and (TurnTimeLeft ~= TurnTime) then
  1074 	elseif (activationStage == 201) and (TurnTimeLeft > 0) and (TurnTimeLeft ~= TurnTime) then
  1075 		SetGearMessage(CurrentHedgehog,0)
  1075 		SetGearMessage(CurrentHedgehog,0)
  1076 		activationStage = 202
  1076 		activationStage = 202
  1077 	end
  1077 	end
  1078 
  1078 
  1079 	-- has the player started his tumbling spree?
  1079 	-- has the player started?
  1080 	if (CurrentHedgehog ~= nil) then
  1080 	if (CurrentHedgehog ~= nil) then
  1081 
  1081 
  1082 		-- if the RACE has started, show tracktimes and keep tabs on waypoints
  1082 		-- if the RACE has started, show tracktimes and keep tabs on waypoints
  1083 		if (racerActive == true) and (activationStage == 202) then
  1083 		if (racerActive == true) and (activationStage == 202) then
  1084 
  1084