Connection ErrorBad RequestThis page went staleSession ExpiredSign in requiredForbiddenNot FoundToo Many RequestsServer ErrorBad GatewayService UnavailableGateway TimeoutHTTP Version Not Supported
Session Expired
Your session has expired. Please log in to continue.
Sign in required
You need an account to do that. Sign in or create one — it only takes a minute.
This page went stale
Your security token was rejected, usually because the page sat open too long or you signed in elsewhere. Nothing was saved. Reload the page and try again.
Request Failed
We encountered an issue while processing your request.
Please check your internet connection and try again.
Error Details:
Share Link
Current questions and answers regarding the map editor.
function defeatFenix(hero)
if GetObjectiveState('fenix') == OBJECTIVE_UNKNOWN then
SetObjectiveState('fenix', OBJECTIVE_ACTIVE)
startThread(checkFenix)
elseif GetObjectiveState('fenix') == OBJECTIVE_COMPLETED then
Trigger(4, 'seer', nil)
AddHeroCreatures(hero, CREATURE_ANGEL, 45)
end
end
function checkFenix()
while 1 do
if not IsObjectExists('Phoenix1') then
SetObjectiveState('fenix', OBJECTIVE_COMPLETED)
break
end
sleep(10)
end
end
SetObjectEnabled('seer', nil)
Trigger(4, 'seer', 'defeatFenix')
```
To make this work, move the quest to the main list, name it fenix, and also set IsInitialyActive and IsInitialyVisible = false, Kind = MANUAL, and name the hut itself seer.