The vpx native AI script function sets the VisualPropertyA, VisualPropertyB, VisualPropertyC bitfield values of a NPC bot using a hexadecimal entry format.
()vpx(input: s)
()vpx("VPA 0x0000000000000001"); // sets VisualPropertyA to 0x0000000000000001
This example code sets the VisualPropertyA value of the NPC bot to 0x0000000000000001.
If the input string is empty, the function returns without making any changes. If the input string cannot be parsed, a warning message is logged.
If the bot has not been spawned, the visual properties cannot be set in the mirror row, and are instead saved away until the bot is spawned. The sendVisualProperties()
function can be used to send the saved visual properties to the mirror.