Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help monster spawning after unlocking door?[SOLVED]
xjonx Offline
Junior Member

Posts: 15
Threads: 7
Joined: Feb 2014
Reputation: 0
#1
Question  monster spawning after unlocking door?[SOLVED]

How do you make a monster spawn when unlocking a door? Yes, I know how to spawn one when picking up a item, but I want to know how to do it when unlocking a door. Is it possible?
EDIT: Solved thanks to Mudbill. Hes a cool guy go check his YouTube channel: http://www.youtube.com/user/MrMudbill
(This post was last modified: 02-14-2014, 09:35 PM by xjonx.)
02-05-2014, 07:02 PM
Find
Wapez Offline
Senior Member

Posts: 360
Threads: 37
Joined: Mar 2012
Reputation: 19
#2
RE: monster spawning after unlocking door?

A perfect place to find all the functions you need. There's also a lot of good tutorials in the wiki.

http://wiki.frictionalgames.com/hpl2/amn..._functions

Founder & Legally Accountable Publisher of Red Line Games.
Environment & Gameplay Designer and Scripter.
http://moddb.com/mods/in-lucys-eyes
(This post was last modified: 02-05-2014, 07:05 PM by Wapez.)
02-05-2014, 07:04 PM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#3
RE: monster spawning after unlocking door?

I'm gonna guess you're unlocking the door with a key? If that is the case, just add the SetEntityActive script inside that code block, next to SetSwingDoorLocked.

02-05-2014, 11:53 PM
Find
xjonx Offline
Junior Member

Posts: 15
Threads: 7
Joined: Feb 2014
Reputation: 0
#4
Thumbs Up  RE: monster spawning after unlocking door?

(02-05-2014, 11:53 PM)Mudbill Wrote: I'm gonna guess you're unlocking the door with a key? If that is the case, just add the SetEntityActive script inside that code block, next to SetSwingDoorLocked.
Thnaks! Smile
PS: I like your youtube channel Smile
PSS: going to subscribe Big Grin
02-07-2014, 08:24 PM
Find




Users browsing this thread: 1 Guest(s)