setProperties
The setProperties
method sets the properties for this fact.
Syntax
setProperties(LuaCodifiedFactProperty)
Arguments
Argument | Description |
---|---|
LuaCodifiedFactProperty
|
(array) The LuaCodifiedFactProperty array, which defines the properties. |
Example
local fact = incomplete:initToCodifiedFact() fact:setProperties({LuaCodifiedFactProperty:new("QAGE","42", nil)}) ...