I have a perfectly working synchronised animation using the callback marker ....
- Code: Select all
ButtonProxy1:
visual:
render: false
logic:
modifiers:
- name: But1ProxLogMod
cursor: poised
flags:
- localelement
activators:
- type: objectinvolume
remote: StonesClickRgn
triggers:
- any
conditions:
- type: activator
activators:
- type: picking
- type: objectinbox
satisfied: true
actions:
- type: pythonfile
ref: :cPythKeyPad
- type: responder
ref: :ButProx1resp
actions:
- type: responder
name: ButProx1resp
responder:
states:
- cmds:
- type: oneshotmsg
params:
receivers:
- oneshotmod:Stone1Oneshot
callbacks:
- marker: "DoorButtonTouch"
receiver: respondermod:ButProx1resp
user: 0
waiton: -1
- type: animcmdmsg
params:
receivers:
- 006D:stonebutton1
animname: sbut1move
cmds:
- setforewards
- continue
waiton: 0
- type: soundmsg
params:
receivers:
- 0011:emit_stonepress
cmds:
- play
- setvolume
volume: 1
waiton: 0
nextstate: 0
waittocmd:
- key: 0
msg: 0
curstate: 0
flags:
- detecttrigger
and the oneshotmod
- Code: Select all
Stone1Oneshot:
logic:
actions:
- type: oneshot
name: Stone1Oneshot
oneshot:
animation: DoorButtonTouch
However, I do NOT want to use that animation ... I want to use "StepOnFloorPlate".
However, if I change the 2 instances of DoorButtonTouch in my script to StepOnFloorPlate ... then the avatar animation plays (he steps on the plate) ... BUT ... the object animation and sound called back by the marker never happen!!

Why does it stop working? (or am I missing something really dumb ?)