Mr777Nick Posted October 10, 2013 Share Posted October 10, 2013 So I want to make an objective failed when the player is hit by the enemy (on this case, he is Keith). I've tried to create an alias to the player and then add a script to that alias. Here's the script: Event OnHit(ObjectReference akAggressor, Form akWeapon, Projectile akProjectile) If akAggressor == Alias_Keith.GetRef() HeathcliffFirstQuest.SetObjectiveFailed(3) EndIfEndEvent CK.com says that the number on the bracket in SetObjectiveFailed() is the position number of The objective. The first objective is read the note. The second objective is kill the enemy and the third is the objective above. There is no error when I compile the script, but on the game the script doesn't work. Someone else got any idea? Link to comment Share on other sites More sharing options...
Mr777Nick Posted October 12, 2013 Author Share Posted October 12, 2013 Bump Link to comment Share on other sites More sharing options...
Recommended Posts