PDA

View Full Version : Triggering door state...?


t0neg0d
04-26-2019, 10:40 PM
Is there a way to trigger a door (i.e. open/close) via script?

It's possible using timers and setting the the actual door location, but I would prefer to just trigger the door state, if possible.

Anyone know if this is doable?

Huppy
04-27-2019, 12:06 AM
If you're using perl, will this work ?

quest::forcedooropen(door_id);
quest::forcedoorclose(door_id);

I'm not "lua inclined", but if you're using that, take a look at the player.lua in quests/paw (not sure if that will help)

t0neg0d
04-27-2019, 03:28 AM
If you're using perl, will this work ?

quest::forcedooropen(door_id);
quest::forcedoorclose(door_id);

I'm not "lua inclined", but if you're using that, take a look at the player.lua in quests/paw (not sure if that will help)

Perfect! Ty!!