equal
deleted
inserted
replaced
678 ---------------------------------- |
678 ---------------------------------- |
679 -- GAME METHODS / EVENT HANDLERS |
679 -- GAME METHODS / EVENT HANDLERS |
680 ---------------------------------- |
680 ---------------------------------- |
681 |
681 |
682 function onGameInit() |
682 function onGameInit() |
683 EnableGameFlags(gfInfAttack, gfInvulnerable) |
683 EnableGameFlags(gfInfAttack) |
684 CaseFreq = 0 |
684 CaseFreq = 0 |
685 TurnTime = 90000 |
685 TurnTime = 90000 |
686 WaterRise = 0 |
686 WaterRise = 0 |
687 HealthDecrease = 0 |
687 HealthDecrease = 0 |
688 |
688 |
954 AddCaption(loc("Good to go!")) |
954 AddCaption(loc("Good to go!")) |
955 racerActive = true |
955 racerActive = true |
956 trackTime = 0 |
956 trackTime = 0 |
957 |
957 |
958 SetGearPosition(CurrentHedgehog, wpX[0], wpY[0]) |
958 SetGearPosition(CurrentHedgehog, wpX[0], wpY[0]) |
959 AddGear(GetX(CurrentHedgehog)+boostX, GetY(CurrentHedgehog)+boostY, gtGrenade, 0, 0, 0, 1) |
959 Explode(GetX(CurrentHedgehog)+boostX, |
|
960 GetY(CurrentHedgehog)+boostY, |
|
961 50, |
|
962 EXPLNoDamage + EXPLAutoSound) |
960 FollowGear(CurrentHedgehog) |
963 FollowGear(CurrentHedgehog) |
961 |
964 |
962 HideMission() |
965 HideMission() |
963 |
966 |
964 -- don't start empty-handed |
967 -- don't start empty-handed |