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
Push up door smooth script
FragdaddyXXL Offline
Member

Posts: 136
Threads: 20
Joined: Apr 2012
Reputation: 7
#5
RE: Push up door smooth script

(05-23-2012, 12:14 PM)stevenbocco Wrote:
(05-22-2012, 09:48 PM)FragdaddyXXL Wrote:
Quote:so i tryed but i got an error on line 123

void opening(string &in asParent, string &in asChild, int alState)
{
122 SetSwingDoorDisableAutoClose("castle", true);
123 AddPropImpulse("castle", 0f, 0f, -900f, "world");
}
it said expected , or ) help Smile?
That means that it's expecting there to be a finishing parenthesis ) or it's missing a ,

Also, that -900f is going to send the door into the 4th dimension. Try something around -15f for starters. Big Grin

As for the error, try looking for a missing: " or ) or a comma. I can't see where the error is, and it leads me to believe a few things:
You may have not hit "Save" in the text editor before starting up the level (happens to me all the time), or
the exception is in another area close to line 123 or
I'm blind xD.

Dark Seclusion Here
(This post was last modified: 05-23-2012, 06:14 PM by FragdaddyXXL.)
05-23-2012, 06:13 PM
Find


Messages In This Thread
Push up door smooth script - by stevenbocco - 05-22-2012, 08:59 PM
RE: Push up door smooth script - by FragdaddyXXL - 05-22-2012, 09:48 PM
RE: Push up door smooth script - by stevenbocco - 05-22-2012, 10:42 PM
RE: Push up door smooth script - by stevenbocco - 05-23-2012, 12:14 PM
RE: Push up door smooth script - by FragdaddyXXL - 05-23-2012, 06:13 PM
RE: Push up door smooth script - by paththeir - 05-29-2012, 10:47 AM
RE: Push up door smooth script - by Adrianis - 05-29-2012, 01:33 PM



Users browsing this thread: 1 Guest(s)