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
Custom Story Script Problems
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#10
RE: Custom Story Script Problems

PlaySoundAtEntity("", "unlock_door", entity, 0, false);
SetSwingDoorLocked(entity, false, true);


I dont think you can write 'entity' in there, without having an object in your map called: entity.

If you have an object called: entity, then you have to put these "" around the word.

SetSwingDoorLocked("entity", false, true);
PlaySoundAtEntity("", "unlock_door", "entity", 0, false);


In this case: [ SetSwingDoorLocked("entity", false, true); ] you are using a door. If you haven't changed your door name then it would be something like "mansion_1" or "castle_1".

Something like that, instead of entity

Trying is the first step to success.
07-15-2012, 04:01 PM
Find


Messages In This Thread
Custom Story Script Problems - by zergling50 - 07-14-2012, 08:25 PM
RE: Custom Story Script Problems - by JMFStorm - 07-14-2012, 08:29 PM
RE: Custom Story Script Problems - by zergling50 - 07-14-2012, 08:34 PM
RE: Custom Story Script Problems - by zergling50 - 07-14-2012, 10:13 PM
RE: Custom Story Script Problems - by zergling50 - 07-15-2012, 01:01 AM
RE: Custom Story Script Problems - by zergling50 - 07-15-2012, 06:26 AM
RE: Custom Story Script Problems - by zergling50 - 07-15-2012, 09:15 PM
RE: Custom Story Script Problems - by zergling50 - 07-15-2012, 10:02 PM
RE: Custom Story Script Problems - by zergling50 - 07-16-2012, 02:11 AM
RE: Custom Story Script Problems - by FlawlessHappiness - 07-15-2012, 04:01 PM
RE: Custom Story Script Problems - by zergling50 - 07-15-2012, 04:43 PM
RE: Custom Story Script Problems - by zergling50 - 07-15-2012, 04:58 PM
RE: Custom Story Script Problems - by zergling50 - 07-15-2012, 05:38 PM
RE: Custom Story Script Problems - by zergling50 - 07-15-2012, 06:40 PM
RE: Custom Story Script Problems - by Ongka - 07-15-2012, 06:36 PM
RE: Custom Story Script Problems - by zergling50 - 07-15-2012, 06:47 PM
RE: Custom Story Script Problems - by Ongka - 07-15-2012, 06:44 PM
RE: Custom Story Script Problems - by zergling50 - 07-15-2012, 08:55 PM
RE: Custom Story Script Problems - by zergling50 - 07-15-2012, 10:13 PM
RE: Custom Story Script Problems - by zergling50 - 07-16-2012, 04:51 PM
RE: Custom Story Script Problems - by zergling50 - 07-16-2012, 07:18 PM



Users browsing this thread: 1 Guest(s)