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
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#3
RE: Automatic open door script

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"); 

Discord: Romulator#0001
[Image: 3f6f01a904.png]
(This post was last modified: 01-03-2015, 01:55 PM by Romulator.)
01-03-2015, 01:54 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)