Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
The Custom Command Button is configured in the editor under the "Custom Commands" tab.
When the user clicks on it in-game it activates a script that you define in the "Script" section of the "Custom Commands" tab.
Define a custom variable like: ButtonClickCounter = 0, then increment it as part of the "Custom Comand" script (ButtonClickCounter = ButtonClickCounter +1).
Then fill in the "Enable Condition" in the "Custom Commands" tab with: ButtonClikcCounter < x (where x is the number of times you want them to be able to use the button.)
You can have the number of uses show up by putting an argument into the "Counter" box of the "Custom Commands" tab. For example "x - ButtonClickCounter" will display the number of clicks left on the button.
-cheers
It'helpful to me.I'll have a try.