Function DebugGotoY
- Line
- 305
- Location
- cheats.j
- Constant?
- no
- Type
- function
- Arguments
- nothing
- Returns
- nothing
| 305 | function DebugGotoY takes nothing returns nothing |
| 306 | local string chatString = GetEventPlayerChatString() |
| 307 | |
| 308 | if (bj_DEBUG_CHAT_GOTOY + " " == SubString(chatString, 0, 6)) then |
| 309 | call SetCameraPositionForPlayer(GetTriggerPlayer(), GetCameraTargetPositionX(), S2R(SubString(chatString, 6, 50))) |
| 310 | endif
|
| 311 | endfunction
|