Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help How to make monster open door?
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#2
RE: How to make monster open door?

It's just that you use a wrong function. Try this:

void BruteOpenDoor_4(string &in asParent, string &in asChild, int alState)
{
AddPropForce("Door", 0, 0, 0, "world"); ////The zeroes are values, experiment with them.
////OR
SetSwingDoorClosed("Door", false, true);
}

SetMoveObjectState is for movable objects (shelfs or secret doors)

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
10-15-2012, 09:22 PM
Find


Messages In This Thread
RE: How to make monster open door? - by The chaser - 10-15-2012, 09:22 PM



Users browsing this thread: 2 Guest(s)