The search keyword must be a single word (no spaces).
Function ForceUIKeyBJ
- Line
- 4589
- Location
- blizzard.j
- Constant?
- no
- Type
- function
- Arguments
- player whichPlayer, string key
- Returns
- nothing
| 4589 | function ForceUIKeyBJ takes player whichPlayer, string key returns nothing |
| 4590 | if (GetLocalPlayer() == whichPlayer) then |
| 4591 | // Use only local code (no net traffic) within this block to avoid desyncs.
|
| 4592 | call ForceUIKey(key) |
| 4593 | endif
|
| 4594 | endfunction
|
Information about ForceUIKeyBJ
City17
4 years
Only call [jassdoc]ForceUIKey[/jassdoc] locally for whichPlayer. Since this emulates a player's actions, it cannot desync, like if player pressed a keyboard button.
See: [jassdoc]ForceUICancel[/jassdoc], [jassdoc]ForceUICancelBJ[/jassdoc]
See: [jassdoc]ForceUICancel[/jassdoc], [jassdoc]ForceUICancelBJ[/jassdoc]
You must be logged in with a standard account to contribute.