by Ijon Tichy » Tue Mar 26, 2013 11:21 am
int ScriptExists(int scriptIdent);
This is a pretty simple suggestion. Returns 1 if a script identified with the given number/string exists, and 0 otherwise. This would be handy for modular ACS systems that don't want to have "Unknown script 42" popping up all the time.
inb4shotdown
Edit: SImilarly,
int ActorExists(int actorName);
Returns 1 if an actor with the given names exists, 0 otherwise. Same idea, but probably less useful (can't you just define a dummy actor you twat).
int ScriptExists(int scriptIdent);
This is a pretty simple suggestion. Returns 1 if a script identified with the given number/string exists, and 0 otherwise. This would be handy for modular ACS systems that don't want to have "Unknown script 42" popping up all the time.
inb4shotdown
Edit: SImilarly,
int ActorExists(int actorName);
Returns 1 if an actor with the given names exists, 0 otherwise. Same idea, but probably less useful (can't you just define a dummy actor you twat).