Larian Banner: Baldur's Gate Patch 9
Previous Thread
Next Thread
Print Thread
Joined: Oct 2017
Location: Sweden
stranger
OP Offline
stranger
Joined: Oct 2017
Location: Sweden
I have a hard time getting pressureplates to work, could anybody prime me on what i am doing wrong?
It's Probably just a silly mistake, but i can't seem to get PressurePlates up an running.

Here is the small story script:

[quote]IF
CharacterItemEvent(_Char, ITEMGUID_PresurePlate_ac70c77a-b147-4005-b423-5b10ce7a89d0, "activate")
THEN
DisplayText(_Char, "PressurePlate Activates");
[/quote]
Looking at how they are used in the game, i thought this would work. I haven't gotten much into Scripts outside of Story so i might have misunderstood something.

Thanks for the help ^^


"Taking down the hydra, one head at a time"
Joined: Dec 2013
old hand
Offline
old hand
Joined: Dec 2013
The script itself looks fine. I take it you have the PUZZLE_PressurePlate script attached to the placed pressure plate item? Does the EventOn string match your expected "activate" value? What is the MaxWeight setting and are you putting enough weight on it?


DOS2 Mods: Happily Emmie After and The Noisy Crypt

Steam Workshop
Nexus Mods
Joined: Oct 2017
Location: Sweden
stranger
OP Offline
stranger
Joined: Oct 2017
Location: Sweden
Oh god, i had completely overlooked the variables menu inside the script itself! That explains alot!

Thanks! Got it to work now ^^


"Taking down the hydra, one head at a time"
Joined: Dec 2013
old hand
Offline
old hand
Joined: Dec 2013
Ha, glad it was an easy fix. smile


DOS2 Mods: Happily Emmie After and The Noisy Crypt

Steam Workshop
Nexus Mods

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.5