I'm trying to make a script that advances a quest stage when an actor dies only if he's killed on the correct stage (stage 70, in this case). Otherwise, I want it to set it to a quest stage that fails the quest.
Here's what I have so far:
if (GetStage().MANNMQ==70) Event OnDeath(Actor Killer) MANNMQ.SetStage(80) MANNMQ.SetObjectiveDisplayed(80) MANNMQ.SetObjectiveCompleted(70) EndEventElse Event OnDeath(Actor Killer) MANNMQ.SetStage(200) EndEventEndif
The problem is that it's telling me I have a "missing EOF at 'if'". I have no idea what an EOF is or where it would go. Does anyone know what's wrong?