I did this quite simply in the following script by cloning a wall button.
Code: Select all
cloneObject{
name = "pull_button",
baseObject = "wall_button",
model = "assets/models/env/door_pullchain.fbx",
pressAnim = "assets/animations/env/door_pullchain.fbx",
}The editor displays the error: warning! Can't find button node for wall button.
I presume that this is because the wall button and pull chain are not in the same place.
Is there a way around this, or am I thinking too far outside the box?