Scriptname MFQdoorscript extends Actor{This Script opens a portcullis on actor death} ObjectReference Property portcullis AutoEvent OnDeath(Actor akKiller) portcullis.SetOpen()EndEvent
I have written a script to open a portcullis when an actor dies using the OnDeath event. The script works fine, but I would like to delay the opening of the door a few seconds for a more dramatic effect.
I'm new to scripting and wondering if this can be done. I know you can delay the opening with an activator such as a lever or pull chain but can it be done with script, and how would I go about it. Any help would be appreciated. It took me two evenings just to get it to work as it is.