because of commands like setScale in max its better to avoid using even methods called setScale, I've ended up comming up with a long winded method, can anyone suggest a better way (bare in mind some people winge about abreviations!)
a method changing a value is named Set<object type><value name>
a method retrieving a value is named Get<object type><value name>
functional methods that change one or more values indirectly like RollEntity are named <functional name><object type>
(rollEntity on TS_PARENT space could change local roll pitch and yaw for instance)
Type Tentity
Function CreateEntity:Tentity(Name:String,Mesh:String)
Method SetEntityParent(p:Tentity)
Method SetEntityPosition(x:Float,y:Float,z:Float) 'absolute world position
Method SetEntityScale(x:Float,y:Float,z:Float)
Method SetEntityMaterial(m:String)
Method RollEntity(angle:Float,space:Int=TS_LOCAL) 'Add angle relative to an axis type
Method PitchEntity(angle:Float,space:Int=TS_LOCAL) 'TS_LOCAL, TS_PARENT or TS_WORLD
Method YawEntity(angle:Float,space:Int=TS_LOCAL)
Method GetEntityName:String()
Method SetEntityFragParam(param:String,v1:Float,v2:Float=0,v3:Float=0,v4:Float=0)
Method SetEntityVertParam(param:String,v1:Float,v2:Float=0,v3:Float=0,v4:Float=0)
a method changing a value is named Set<object type><value name>
a method retrieving a value is named Get<object type><value name>
functional methods that change one or more values indirectly like RollEntity are named <functional name><object type>
(rollEntity on TS_PARENT space could change local roll pitch and yaw for instance)
Type Tentity
Function CreateEntity:Tentity(Name:String,Mesh:String)
Method SetEntityParent(p:Tentity)
Method SetEntityPosition(x:Float,y:Float,z:Float) 'absolute world position
Method SetEntityScale(x:Float,y:Float,z:Float)
Method SetEntityMaterial(m:String)
Method RollEntity(angle:Float,space:Int=TS_LOCAL) 'Add angle relative to an axis type
Method PitchEntity(angle:Float,space:Int=TS_LOCAL) 'TS_LOCAL, TS_PARENT or TS_WORLD
Method YawEntity(angle:Float,space:Int=TS_LOCAL)
Method GetEntityName:String()
Method SetEntityFragParam(param:String,v1:Float,v2:Float=0,v3:Float=0,v4:Float=0)
Method SetEntityVertParam(param:String,v1:Float,v2:Float=0,v3:Float=0,v4:Float=0)