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
Door is not automatically opening!! D=
Gamemakingdude Offline
Senior Member

Posts: 470
Threads: 82
Joined: Nov 2010
Reputation: 9
#5
RE: Door is not automatically opening!! D=

I think he meant 270.0f
Wait i see the problem.

PHP Code: (Select All)
void OnStart()
 {
 
AddEntityCollideCallback("Player""fadeoutarea""autoopendoor"true1);
 }

 
void autoopendoor(string &in asParentstring &in asChildint alState)
 {
//You forgot to put an f after the time.
 
AddTimer(""2.0f"dooropensequence");
 }

 
void dooropensequence(string &in asTimer)
 {
 
SetSwingDoorClosed("exitdoor"falsefalse);
 
SetSwingDoorDisableAutoClose("exitdoor"true);
 
AddPropForce("exitdoor"270.000"world");
 } 

Rep if like me or im helpful or you love my stories!
Stephanos house
(This post was last modified: 10-01-2011, 09:33 PM by Gamemakingdude.)
10-01-2011, 09:31 PM
Find


Messages In This Thread
RE: Door is not automatically opening!! D= - by Gamemakingdude - 10-01-2011, 09:31 PM



Users browsing this thread: 1 Guest(s)