void EnvWriteString(int, str, str)
EnvWriteString · Global
Exact signature
Section titled “Exact signature”void EnvWriteString(int, str, str)Description
Section titled “Description”Writes a string under a key in the specified player's environment. Arguments are, in order, the player number, the key, and the string to write.
Usage notes
Section titled “Usage notes”This overload scopes the key to the specified player. Scripts use it, for example, to record research states. Retention of this data across games and complete player-number validation are not documented.
Parameters and return type
Section titled “Parameters and return type”Return type: void
| Position | Type |
|---|---|
| 1 | int |
| 2 | str |
| 3 | str |
Other overloads
Section titled “Other overloads”Check the exact signature. A description of one overload does not automatically document the others.
void EnvWriteString(str, str)void EnvWriteString(Settlement, str, str)void EnvWriteString(Building, str, str)
Read and share
Section titled “Read and share”Keep the notes and limitations when reusing this description. Do not infer undocumented parameter meanings, units or effects.