The "vngen_set_prop" Function
#
SyntaxArgument | Type | Description |
---|---|---|
id | real/string | The ID of the specific entity to check |
type | integer/macro | Sets which type of entity to check |
[name] | string | Optional: Sets the character name to check, if entity is an attachment |
prop | enum | The property to check, as an enumerator |
val | any | The value to assign to the property |
#
DescriptionModifies the value of the specified property of the given entity, if it exists.
Properties are written with the syntax "prop._property". A full list of valid properties can be found by editing sys_vngen_config
. However, note that not all entities possess all available properties.
See Macros & Keywords for a full list of available entity types.
note
Warning: This script modifies internal VNgen behavior and is intended for advanced users only. Improper usage can cause errors or crashes. Use at your own risk!