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
Question about scripting
jens Offline
Frictional Games

Posts: 4,093
Threads: 199
Joined: Apr 2006
Reputation: 202
#6
RE: Question about scripting

So bascially thins happen when you interact with the door? So that means the function works but there is no enemy activated or sound played?

First, you do not need to play the sound for the enemy to enable, it will automatically play that sound when an enemy is activated. So remove that line.

Then as for SetEntityActive("servant_grunt", true); make sure that the enemy really is called "servant_grunt" in the level editor, if you have not renamed him it is more likely that the name is "servant_grunt_1". Also make sure that the enemy has the Active box unchecked, so that he really only activates when you interact with the door.
09-17-2010, 07:11 AM
Website Find


Messages In This Thread
Question about scripting - by w 1 z - 09-17-2010, 03:08 AM
RE: Question about scripting - by MulleDK19 - 09-17-2010, 03:21 AM
RE: Question about scripting - by w 1 z - 09-17-2010, 03:57 AM
RE: Question about scripting - by Armored Cow - 09-17-2010, 04:36 AM
RE: Question about scripting - by w 1 z - 09-17-2010, 04:50 AM
RE: Question about scripting - by jens - 09-17-2010, 07:11 AM
RE: Question about scripting - by w 1 z - 09-17-2010, 07:39 AM
RE: Question about scripting - by Armored Cow - 09-17-2010, 03:40 PM
RE: Question about scripting - by jens - 09-17-2010, 04:21 PM
RE: Question about scripting - by Armored Cow - 09-17-2010, 04:40 PM
RE: Question about scripting - by jens - 09-17-2010, 05:45 PM
RE: Question about scripting - by MulleDK19 - 09-17-2010, 05:55 PM
RE: Question about scripting - by Armored Cow - 09-17-2010, 07:02 PM



Users browsing this thread: 1 Guest(s)