Installer Steam
log på
|
sprog
简体中文 (forenklet kinesisk)
繁體中文 (traditionelt kinesisk)
日本語 (japansk)
한국어 (koreansk)
ไทย (thai)
Български (bulgarsk)
Čeština (tjekkisk)
Deutsch (tysk)
English (engelsk)
Español – España (spansk – Spanien)
Español – Latinoamérica (spansk – Latinamerika)
Ελληνικά (græsk)
Français (fransk)
Italiano (italiensk)
Bahasa indonesia (indonesisk)
Magyar (ungarsk)
Nederlands (hollandsk)
Norsk
Polski (polsk)
Português (portugisisk – Portugal)
Português – Brasil (portugisisk – Brasilien)
Română (rumænsk)
Русский (russisk)
Suomi (finsk)
Svenska (svensk)
Türkçe (tyrkisk)
Tiếng Việt (Vietnamesisk)
Українська (ukrainsk)
Rapporter et oversættelsesproblem








https://api.tabletopsimulator.com/
drawClicked and the others are in Global not in Scripts so you have to call them but there you will have a problem because in a call you can only give a table as a parameter not 3 variables what drawClicked need.
so you have to put the function onScriptingButtonDown in Global.
this should not be a problem if you create in Global the same function with only the keys you use in Global.
you have to use the function like this:
If anyone sees this and is interested I basically mapped all the buttons from the battle interface to the numpad as well as the "Scenario won" button. I kept 1-3 but deleted the mappings for 7-9. (7-9 are present under Scripts under the function onScriptingButtonDown, the section starts with a line that says something like if index > 6 and <10) I input the following script near the end of Global.
The keys are mapped as follows
4 = draw attack modifier drawClicked(player, nil, color)
5 = start round reveal()
6 = end round endRound()
7 = sort hand sortHand(player, value, id)
8 = long rest longRest(player, value, id)
9 = Scenario Won spawnerClicked(player, value, id) id is for button so pass "win"
0 = game setup spawnerClicked(player, value, "showSpawner")
Some of these won't work as the black player for obvious reason.