UT ExitDestroy
From Dragon Age Toolset Wiki
Revision as of 19:18, 10 February 2010 by BryanDerksen (Talk | contribs) (Created page with '{{dafunction |name = UT_ExitDestroy |brief = Makes someone go to the exit and then destroy himself. |param1type = object |param1name = oTarg |param1desc = The object that is goin...')
Makes someone go to the exit and then destroy himself.
void UT_ExitDestroy(
object oTarg,
int bRun = FALSE,
string sWP = GENERIC_EXIT,
int bRandomWait = FALSE
);
object oTarg,
int bRun = FALSE,
string sWP = GENERIC_EXIT,
int bRandomWait = FALSE
);
- Parameters:
- oTarg
- The object that is going to walk someplace.
- bRun
- Whether the target will walk or run to the exit.
- sWP
- This is an override string, if left blank oTarg will go to the nearest "wp_gen_exit".
- bRandomWait
- Adds a short, random length wait command before the move command
- Returns:
- Nothing.
- Source:
- Core Resources.utility_h