Search found 2 matches
- Sun Dec 28, 2014 9:03 am
- Forum: Mod Creation
- Topic: Ask a simple question, get a simple answer
- Replies: 3990
- Views: 3425012
Re: Ask a simple question, get a simple answer
Since the teleporter object has a ControllerComponent named "controller", you can use the global delayedCall function: function teleporterrotation() teleporter_13.controller:activate() delayedCall("teleporter_13",1.5,"deactivate") end to deactivate the teleporter after...
- Sun Dec 28, 2014 8:16 am
- Forum: Mod Creation
- Topic: Ask a simple question, get a simple answer
- Replies: 3990
- Views: 3425012
Re: Ask a simple question, get a simple answer
How do I put a delay in between the activate and deactivate ?
Code: Select all
function teleporterrotation()
teleporter_13.controller:activate()
teleporter_13.controller:deactivate()
end