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 "Change Property" element is designed to modify a single property.
An example of that would be the following code:
The most common approach to doing this would be:
CharacterDefs is the global table that contains all character definitions in the game. If you want to modify all spawned characters on the map, replace it with UIPlayer.labels.Survivors. The labels are auto-updating tables that hold references to specific objects present on the map.
EDIT: As always, it's asking a question that solved it. Replace 'ipairs' with 'pairs' works fine. There's clearly something about Lua data structures that I'm not getting yet...