so i can across an interesting problem.
i've made most of the trap activators pickupable through the perk script, through add activate choice. when it runs, it throws rSelf into a quest script as rPickup, and iType corresponding with the object type. it works perfectly fine on everything, but i'm having problems with laser tripwire emitters. essentially, the script looks like this on that section:
if type == 2
set type to 0
set rBeam to rPickup.getLinkedRef
player.additem tripwirethingy
rBeam.disable
rBeam.markForDelete
rpickup.disable
rPickup.markForDelete
when i had "set type to 0" at the end, every few seconds i'd get another tripwirethingy in my inventory, yet rPickup was going away, so the script was running parts of that block but kinda just skipping parts and re-running. i moved that, then i dumped a couple of printc "%n" in for rPickup and rBeam. running it again a few times, the printc would return <no name> on both accounts, even though rPickup was clearly going away, indicating that at the moment rPickup.disable ran, rPickup was clearly referenced.
so what am i missing?
perms: either a full fireworks display spelling out "Puppettron Made This" anytime a user accesses my content in-game, or just give me credit somewhere.