Thank you for your answer Karkadann.
That was very kind of you.
I tried it with the Avataranimations.Age, i put the xTelescope.py into this Phytonpak.
I think the problem is the Alcscript in this Blendfile. It needs to be changed a little, but I do not know exactly how.
- Code: Select all
ScopeGoggles:
logic:
modifiers:
- cursor: poised
flags:
- localelement
activators:
- type: objectinvolume
remote: ScopeClickRegion
triggers:
- any
conditions:
- type: activator
activators:
- type: picking
- type: objectinbox
satisfied: true
actions:
- type: responder
ref: ScopeResponder
actions:
- type: responder
name: ScopeResponder
responder:
states:
- cmds:
- type: oneshotmsg
params:
receivers:
- oneshotmod:ScopeOneShot
callbacks:
- receiver: respondermod:ScopeResponder
user: 0
waiton: -1
- type: soundmsg
params:
receivers:
- 0011:ScopeEmitter
cmds:
- play
- setvolume
volume: 0.8
waiton: 0
nextstate: 0
waittocmd:
- key: 0 #this is the waiton value
msg: 0 #this is the user value
curstate: 0
flags:
- detecttrigger
ScopeOneShot:
logic:
actions:
- type: oneshot
name: ScopeOneShot
oneshot:
animation: GlobalScopeGrab
ScopeEmitter:
type: soundemit
sound:
flags:
- localonly
- is3dsound
minfdist: 15
maxfdist: 30
file: xBahroScream00
volume: 0.8
type: soundfx
I see only the animation GlobalScopeGrab
but i miss the other animations: GlobalScopeHold and GlobalScopeRelease. How can I integrate this into the script?
Greetings
Dulcamara