Function DebugGotoX
- Line
- 296
- Location
- cheats.j
- Constant?
- no
- Type
- function
- Arguments
- nothing
- Returns
- nothing
| 296 | function DebugGotoX takes nothing returns nothing |
| 297 | local string chatString = GetEventPlayerChatString() |
| 298 | |
| 299 | if (bj_DEBUG_CHAT_GOTOX + " " == SubString(chatString, 0, 6)) then |
| 300 | call SetCameraPositionForPlayer(GetTriggerPlayer(), S2R(SubString(chatString, 6, 50)), GetCameraTargetPositionY()) |
| 301 | endif
|
| 302 | endfunction
|