how i could make a door open when the enemy is killed.
Im thinking of an ondeath script maybe but i dont know alot about scripting.
Please be simple, can some one help me? thanks!
Actor Property KeyMob Auto ; The enemy you want the door to open after it diesBool property Polling=False AutoEvent OnCellLoad() if !Keymob.IsDead() && !Polling Polling = True RegisgterForUpdate(1) endifEndEventEvent OnUpdate() if Keymob.IsDead() Unlock() Open() UnregisterForUpdate() EndifEndEvent