When I insert the function ‘SetEntityAttribute(...)’ in the PB example ‘examples/3d/Entity.pb’, the attribute ‘#PB_Entity_InheritScale’ is not listed by autocomplete. The syntax check is successful, but there is an error when executing: [ERROR] SetEntityAttribute(): invalid value specified for parameter ‘Attribute’.
The attribute is described in the help section and was added in version 6.20.
User error or PB error?
Peter
Code: Select all
Line 38:
CreateEntity(0, MeshID(0), MaterialID(0))
SetEntityAttribute(0, #PB_Entity_InheritScale, #True) ; ERROR
