
<the clickable button object>:
logic:
modifiers:
- cursor: poised
flags:
- localelement
activators:
- type: objectinvolume
remote: <click region name here>
triggers:
- any
conditions:
- type: activator
activators:
- type: picking
- type: objectinbox
satisfied: true
actions:
- type: responder
ref: :SoundResp
actions:
- type: responder
name: SoundResp
responder:
states:
- cmds:
- type: soundmsg
params:
receivers:
- 0011:<Name of emitter object>
cmds:
- play
- setvolume
volume: 1
waiton: -1
nextstate: 0
waittocmd: 0
curstate: 0
flags:
- detect_trigger
andylegate wrote:...I was not insinuating that anyone is intentionally keeping information from anyone...
ref: :SoundResp
ref: $SndRgn\n
Recommended Style
It is recommended to make an indentation 4 spaces (or one tab in blender) in width.
It is also recommended to cut the last indentation before a list item indicator (dash-sign) to 2 spaces
Users browsing this forum: No registered users and 6 guests