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.
function monumtext (hero, obj) if obj == 'monum1' then MessageBox(mpath.. 'monum1.txt'); elseif obj == 'monum2' then MessageBox(mpath.. 'monum2.txt'); elseif obj == 'monum3' then MessageBox(mpath.. 'monum3.txt'); elseif obj == 'monum4' then MessageBox(mpath.. 'monum4.txt'); end; end;
The object_touch trigger always passes 2 parameters to the function (it doesn't matter if you use them or not): the name of the hero who touched the object and the name of the object that was touched. Therefore, you should write Trigger(OBJECT_TOUCH_TRIGGER, 'object name', 'function'), without any parameters in the parentheses.