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
Entity unlock
Greven Offline
Member

Posts: 106
Threads: 13
Joined: May 2011
Reputation: 3
#4
RE: Entity unlock

(05-17-2011, 12:38 PM)Tanshaydar Wrote: It would be easier to try the script in a dev environment.
I dont know how you found out that i just switched from the dev enviroment to the original... HAX!


(05-17-2011, 12:42 PM)Rownbear Wrote: You can do it like they did in the main game by putting a script and when the player walks into it, it pops up playing a sound and creating a particle effect. but if you want it to be a trap so when a player goes to it and it's locked then coming back later it pops up, just put a script in-game past the iron maiden activateing the script to scare.

Also instead of locking and unlocking it you can just place two ironmaidens, one that locked and active and one thats open and unactive. so when the player walks into the script, the locked ironmaiden disappear and the unlocked ironmaiden gets active and addpropimpulse can work.

EDIT: Not sure if this works on the ironmaiden tho

void UnlockDoor(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("iron_maiden_1", false, true);
}

SetSwingDoorLocked does not work but ill go with the 2 ironmaidens idea.

[WIP] Recidivus
05-17-2011, 12:49 PM
Find


Messages In This Thread
Entity unlock - by Greven - 05-17-2011, 12:23 PM
RE: Entity unlock - by Tanshaydar - 05-17-2011, 12:38 PM
RE: Entity unlock - by Rownbear - 05-17-2011, 12:42 PM
RE: Entity unlock - by Greven - 05-17-2011, 12:49 PM
RE: Entity unlock - by Tanshaydar - 05-17-2011, 12:58 PM
RE: Entity unlock - by Greven - 05-17-2011, 01:23 PM
RE: Entity unlock - by dragonlordsd - 05-17-2011, 05:10 PM
RE: Entity unlock - by Tanshaydar - 05-17-2011, 05:44 PM
RE: Entity unlock - by dragonlordsd - 05-17-2011, 07:55 PM
RE: Entity unlock - by Tanshaydar - 05-17-2011, 08:14 PM
RE: Entity unlock - by dragonlordsd - 05-17-2011, 10:08 PM
RE: Entity unlock - by palistov - 05-17-2011, 10:13 PM
RE: Entity unlock - by dragonlordsd - 05-17-2011, 10:58 PM
RE: Entity unlock - by Rownbear - 05-18-2011, 12:49 AM
RE: Entity unlock - by dragonlordsd - 05-19-2011, 01:48 AM
RE: Entity unlock - by MrBigzy - 05-19-2011, 01:52 AM
RE: Entity unlock - by dragonlordsd - 05-19-2011, 03:15 AM
RE: Entity unlock - by Acies - 05-19-2011, 03:27 AM
RE: Entity unlock - by dragonlordsd - 05-19-2011, 09:22 PM



Users browsing this thread: 1 Guest(s)