functionECreate

creates a new entity of the given entity type

Inputs

TypeNameDefaultDescription
Integern
RealHCREntity Type HoldCostRate
RealVAEntity Type VACost
RealNVAEntity Type NVACost
RealWEntity Type WaitCost
RealTEntity Type TranCost
RealOEntity Type OtherCost
IntegerIDEntity Type ID
RealTimecurrent time
Integerattrreference to the attributes list

Outputs

TypeNameDefaultDescription
Integerentityreference to the new entity