FlawlessHappiness
Posting Freak
Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation:
171
|
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 |
|