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
Script Help Automatic open door script
MaksoPL Offline
Member

Posts: 51
Threads: 26
Joined: Mar 2014
Reputation: 0
#4
RE: Automatic open door script

(01-03-2015, 01:54 PM)Romulator Wrote: Change this
PHP Code: (Select All)
AddTimer("DoorScripted1"0"TimerMoveDoor"); 
to this
PHP Code: (Select All)
AddTimer("DoorScripted1"0.05"TimerMoveDoor"); 

This line here:
PHP Code: (Select All)
AddPropForce(asTimer, -7000"world"); 
This is correct, but make sure of a few things:

1. asTimer here would mean that your door would be named TimerMoveDoor in the Level Editor. If not, then make sure it is! Tongue
2. The numbers may need to be tweaked, depending on which way your door faces. Try these alterations as well:
PHP Code: (Select All)
AddPropForce(asTimer7000"world");
AddPropForce(asTimer00, -70"world");
AddPropForce(asTimer0070"world"); 

It din't work.
01-03-2015, 02:30 PM
Find


Messages In This Thread
Automatic open door script - by MaksoPL - 01-03-2015, 12:55 PM
RE: Automatic open door script - by G510s - 01-03-2015, 01:37 PM
RE: Automatic open door script - by Romulator - 01-03-2015, 01:54 PM
RE: Automatic open door script - by MaksoPL - 01-03-2015, 02:30 PM
RE: Automatic open door script - by DnALANGE - 01-03-2015, 04:58 PM
RE: Automatic open door script - by Daemian - 01-03-2015, 08:18 PM



Users browsing this thread: 1 Guest(s)