Scriptname KillonEnterScript extends ObjectReference{Kills Actor when it enters the trigger.}Event OnTriggerEnter(ObjectReference akActionRef)If (akActionRef as Actor)(akActionRef as Actor).Kill()EndIfEndEventThis does not seem to work when I fall into the collision box, am I missing something? It compiles fine.Furthermore, in the caves I am building, I want there to be a pit where, when the player looks down into it, all he/she sees is complete pitch black, hinting that the pit is incredibly deep. However, I can't seem to find any art assets that are just a layer/box of darkness. Are there any, or even a way to do this in any manner? (My intent with both of these is to put the collision box where the darkness is, so that if the player falls down into the pit he/she is instantly killed.
Thanks in advance for any help.
