// MAP 3/27/2009
// Make oTarget run sScript and then return execution to the calling script.
// This function supports adding script parameters with
// the AddScriptParameter* functions, as well as execution of conditional scripts.
// If script execution fails for any reason, this returns -1
// If executing a non-conditional script, this returns 1 on successful execution.
// If executing a conditional script, this returns the return value of the conditional.
// If bClearParams is true, any script params previously added with AddScriptParameter*
// will be removed.
int  ExecuteScriptEnhanced(string sScript, object oTarget, int bClearParams = TRUE);
  • Added in Patch 1.23

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.