dietplums Posted March 24, 2023 Share Posted March 24, 2023 (edited) What I want to happen is when a quest stage has been set, if the actor is alive it will move them to a location. the script I am trying to use Scriptname moveactorifalive extends Quest Actor Property Mut Auto Const ObjectReference Property XMarker Auto Const ActorValue Property Health Auto Const Event OnQuestStage(int newStage, int oldStage)if (newStage == 20 && Mut.GetDeadCount() == 0)Mut.MoveTo(XMarker);endifEndEvent it says that getdeadcount is not a function. and will not compile i also tried actor value for health but that didn't work either. thank you, sorry for my bad scripting. Edited March 24, 2023 by dietplums Link to comment Share on other sites More sharing options...
SKKmods Posted March 24, 2023 Share Posted March 24, 2023 GetDeadCount is a condition not a script function. Best to look functions up in the documentation than randomly call stuff hoping it will work. The function you want is Actor.IsDead() == False Link to comment Share on other sites More sharing options...
Recommended Posts