Scripts / Door opens when a certain monster is killed?

Author
Message
gamebro1337
10
Years of Service
User Offline
Joined: 12th Jan 2014
Location:
Posted: 23rd May 2015 00:46
Hey guys, I am trying to figure out how to make a door locked and require you to kill a certain monster before it opens. Does anyone have a script for this?
PM
!nullptr
Forum Support
9
Years of Service
User Offline
Joined: 27th Mar 2015
Location: Australia
Posted: 23rd May 2015 03:05
Have you looked at door.lua?

Simply adding a check for dead monster at line 19 (ish) such as

Development/ Gaming Rigs
Sys 1: i7-4770 (3.5)/16Gb/128 SSD/3Tb/970gtx/2 x 23, 1 x 27 LCD - Sys 2: i7/8Gb/670gtx/1.5Tb/1 x 23 LCD - Sys 3: Amd Quad/8Gb/645gtx/1Tb/30" LCD
PM

Login to post a reply

Server time is: 2024-05-07 10:18:46
Your offset time is: 2024-05-07 10:18:46