Function DebugToggleFingerOfDeath
- Line
- 397
- Location
- cheats.j
- Constant?
- no
- Type
- function
- Arguments
- nothing
- Returns
- nothing
| 397 | function DebugToggleFingerOfDeath takes nothing returns nothing |
| 398 | local integer index = GetPlayerId(GetTriggerPlayer()) |
| 399 | if (bj_debugFingerOfDeathEnabled[index]) then |
| 400 | call DisplayTextToPlayer(Player(index), 0, 0, "Finger Of Death Disabled") |
| 401 | call DisableTrigger(bj_debugToolOfDeathTrig[index]) |
| 402 | else
|
| 403 | call DisplayTextToPlayer(Player(index), 0, 0, "Finger Of Death Enabled") |
| 404 | call EnableTrigger(bj_debugToolOfDeathTrig[index]) |
| 405 | endif
|
| 406 | set bj_debugFingerOfDeathEnabled[index] = not bj_debugFingerOfDeathEnabled[index] |
| 407 | endfunction
|