Code: Select all
defineObject{
name = "plating",
class = "Decoration",
model = "assets/models/env/prison_secret_door.fbx",
replacesWall = true,
placement = "wall",
editorIcon = 92
}
However, I want to place the different walls automatically via a script that does other things too:'
Code: Select all
spawn("plating", self.level, self.x, self.y, (self.facing+1)%4)
spawn("plating", self.level, self.x, self.y, (self.facing+2)%4)
spawn("plating", self.level, self.x, self.y, (self.facing+3)%4)
Can anyone help? Thank you! -Lark