EnvWriteString
Requests a string write under an environment key scoped to the specified building and its settlement. Arguments are the building, the key and the string.
If the building cannot be resolved, this overload skips the write. The key path includes the game environment, settlement and building. Available dynamic verification covers one specific call; it establishes neither cross-game persistence nor duplicate-key rules. Those storage properties remain unresolved.
Signature
Parameters and return
Global scope · Return: void
Other overloads
| Member | Signature and description |
|---|---|
EnvWriteStringGlobal | void EnvWriteString(str, str)Pops value and key managed strings and delegates their payloads to the environment writer. |
EnvWriteStringGlobal | void EnvWriteString(Settlement, str, str)CKS native primitive that writes a string value under a key into a settlement's Env key-value store. |
EnvWriteStringGlobal | void EnvWriteString(int, str, str)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. |