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
SetSwingDoorClosed won't work
nkmol Offline
Senior Member

Posts: 252
Threads: 19
Joined: Feb 2011
Reputation: 4
#3
RE: SetSwingDoorClosed won't work

i've made the same ;

void OnEnter()
{
AddEntityCollideCallback("Player", "ScriptArea", "Callback", true, 1);
}

void CallBack(string &in asParent, string &in asChild, int alState)
{
SetSwingDoorLocked("sewer_arched_1", true, true);
//ofc i added some more events to happen ;) this one i used for the door :P
}

now you have to fill your own propeties Smile
this wil suddenly close the door in a blink of an eye Tongue but it won't close it as a effect, just look unatural. If you can't see the door and it close, then you can use it i geuss Wink
if you want to see the door closing like a 'bang' you should use AddPropImpulse, as junkfood said Tongue
(This post was last modified: 03-16-2011, 04:05 PM by nkmol.)
03-16-2011, 04:04 PM
Find


Messages In This Thread
SetSwingDoorClosed won't work - by Raymond - 03-15-2011, 07:29 AM
RE: SetSwingDoorClosed won't work - by nkmol - 03-16-2011, 04:04 PM
RE: SetSwingDoorClosed won't work - by Raymond - 03-17-2011, 03:20 AM
RE: SetSwingDoorClosed won't work - by Raymond - 03-17-2011, 07:30 AM



Users browsing this thread: 1 Guest(s)