0


I'm working on a script to auto-close doors. I would just use triggers in the map, but with a trigger-delay it will also OPEN a door if it was closed manually. So my question is how do you change the state of an entity (func-dynwall) in lua? Is it possible? Is there some other way to make the door close? Or how to activate a trigger_use in script?

All I have been able to find is getting the state of the entity, but not how to set it. Any advice would be much appreciated.

Thanks

Edit: Ok, so it is possible. Thanks eTarPu!

flag offensive
asked 2010-07-26 10:04:38.754952
5
add comment
1 Answers:
0


To answer this and your next question,

parse("trigger door"), replace door with the name of your entity. U can set the name of an entity with the map editor.

permanent link | flag offensive
answered 2010-07-27 21:29:54.190632
46
add comment
Your answer:
You are now not logged in but you can answer first and then login
toggle preview



Made with Django.