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.
Hello, great masters of the ancient Lua language. I've encountered some difficulties with restructuring a town... In general, everything works as intended with the trigger, but I would like to add some animation to the town's transformation. So, here's the essence of my question: what should I add to this trigger?
```
function transform ()
SetObjectiveState ( "obj3",OBJECTIVE_COMPLETED);
sleep (5);
TransformTown ( "necr1", TOWN_HAVEN );
Trigger ( OBJECT_TOUCH_TRIGGER, "lightwather", "transform", nil);
end;
Trigger ( OBJECT_TOUCH_TRIGGER, "lightwather", "transform" );
```
To play a visual effect of the "Holy Word" spell over the town between completing the quest and transforming the town? Please help if it's not too much trouble. I would be very grateful.