I've gotten triggered animations to work before, in annother age I'm working on, so I know how to do it. However, while I did everything required for it to work, it still doesn't! The door's an actor, the avatar animation to push the button works fine, but it doesn't trigger the door open animation. The journal works, so I know it's not the python file.
Here's my AlcScript:
- Code: Select all
AnimDoor:
animations:
- name: DoorAnim
autostart: 0
loop: 0
DoorButton:
quickscript:
stateanimation:
objectname: AnimDoor
region: ButtonRegion
sdlname: DoorOpen
avatar:
animation: DoorButtonTouch
animtarget: ButtonEmpty
forewards:
animation: DoorAnim
backwards:
animation: DoorAnim
AnimDoor is the name of my door, DoorAnim is my animation, and DoorButton is my button.
I have a python file (created by file > New > python file, and changed "MyResponder" to the name of my age, and given it an ID. I also have a Journal, so the "MyAge.py" is in the Pak file along with the "BookGUI", "PageDef" and "Journals".
Here's my SDL file:
- Code: Select all
# Remember not to delete the existing versions when creating new SDL versions!
# Doing so could *corrupt* the vault!
STATEDESC SparklingPalace
{
VERSION 1
VAR BOOL DoorOpen[1] DEFAULT=0
}
Now, one thing that my be important, is the Python file of my other age (the one that the triggered animations worked in), seems to be in a different form than the python file generated by PlasmaShop. I assumed it was just the same thing laid out a bit differently. Anyone know what my problem is?