EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::General Support (https://www.eqemulator.org/forums/forumdisplay.php?f=598)
-   -   Triggering door state...? (https://www.eqemulator.org/forums/showthread.php?t=42421)

t0neg0d 04-26-2019 10:40 PM

Triggering door state...?
 
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

Quote:

Originally Posted by Huppy (Post 262299)
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!!


All times are GMT -4. The time now is 09:25 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.