I have a number of clickable objects that use responders or sittingmods, and they all work with no problems, but when I try to make it fire a PythonFileMod rather than a responder, it stops working altogether. I have no hotspot in-game, even though the regions, scripts, and everything seem to be exported correctly in the PRP.
My AlcScript looks like this:
- Code: Select all
410RgnDevice:
type: region
region:
type: logic
physical:
physlogic: detect
410Device:
type: object
visual:
drawable: 0
criteria: 0
drawflags: 0
icicle: 0x80000
visregions:
- svinvert:410BuildingVis
physical:
physlogic: detect
pinned: true
logic:
actions:
- type: pythonfile
name: 410DeviceGUI
pythonfile:
file: "xDialogToggle"
parameters:
- type: activator
ref: logicmod:410Device
- type: Skip
- type: Skip
- type: string
value: "410GUI"
modifiers:
- name: 410Device
cursor: poised
flags:
- localelement
activators:
- type: objectinvolume
remote: 410RgnDevice
triggers:
- any
conditions:
- type: activator
activators:
- type: picking
- type: objectinbox
satisfied: true
- type: facing
satisfied: true
directional: true
tolerance: 0.9
actions:
- type: pythonfile
ref: pyfilemod:410DeviceGUI
As far as I can tell, everything should be working, I've compared the exported objects with some of the ones in other Ages, and they all look like they should work. Does anyone see any issues that would stop the hotspot from appearing?