Search the Community
Showing results for tags 'parameters'.
function Script:CreateNewParent(pName,x,y,z) self.parent(pName)=nil self.parent(pName) = Model:Box() self.parent(pName):SetPosition(x,y,z) end I think its self explaining, I want to make my script more optimized so how do you make a new object with a pName as name?
It seems if you save a script from the editor (not the one currently active in the entity's scripts tab) parameter fields get messed up with fields from another script. No file corruption or anything like that is apparent, hopefully just a visual bug. But still. Please see the video. http://www.olbyonline.com/bin/leadwerks/ScriptEditorParamsMess.mp4