Most common cause of crashing after adding an animation: Remember to make the animated object an actor. And sdlname must be just the name not the whole line from the sdl file.
sdlname: WindowOpen
BayWindow:
animations:
- name: WinOpen
autostart: 0
loop: 0
BayWindow:
animations:
- name: WindowAnim
autostart: 0
loop: 0
WindowButton:
quickscript:
stateanimation:
objectname: BayWindow
region: WinReg
sdlname: WindowOpenVis
avatar:
animation: DoorButtonTouch
animtarget: AvatarEmpty
forewards:
animation: WindowAnim
backwards:
animation: WindowAnim
WindowButton:
physical:
pinned: true
WindowButton:
quickscript:
stateanimation:
objectname: BayWindow
region: WinReg
sdlname: WindowOpenVis
avatar:
animation: DoorButtonTouch
animtarget: AvatarEmpty
forewards:
animation: WindowAnim
backwards:
animation: WindowAnim
WindowButton:
physical:
pinned: true
Users browsing this forum: No registered users and 1 guest