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
If I remember correctly, GetWorkerInventoryItems() returns an array of strings, where each string is the name of an item held in the inventory. They're ordered as First In Last Out, so cell 0 should be the last item your worker collected. When you use ThrowItem you can give it an index to choose which item to throw.
ConsoleLog prints text to the console, which is useful when you need to debug your code.
SyncWorkers returns true if all workers called this function at the same time, otherwise falls. Can be used to help "sync the workers" by creating temporary infinite loops.