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
I had to script one for each player's color though, as otherwise everyone would've rolled everyone's dice, and i got an error for the object not being able to get the color when passing it to the callback function. Maybe someone can and actually want's to fix it and make it more flexible.
Here's the code snipped on Pastebin [pastebin.com]
if die.getLock then
die.setLock(false)
end
I also have a question, is there a way to print the results in the chat in groups of values - say you roll six dice and get 1,2,2,2,5,6 - can it be made to say 1, 2 (x3), 5, 6 by some sorcery?