Hi, I'm having trouble understanding the syntax. how do I reference an actor or 3D model on the map using the (lua)?
in c# i would do something like that
crawler.transform.translate (-0.05f,0,0,Space.self);
but I just don't understand how to apply this to Leadwerks (LUA)
I don't want to use
"self.entity" because the script is not attached to the "crawler"
can someone explain this syntax to me better? thanks
suppose i have to create a variable and attach the crawler.entity or something?
function Script:Start()
entity = crawler
crawler.entity:SetPosition(0,180,0)
end