Using the new function has greatly increased the efficiency of the code. Here it is in use:
// ENSURE TAG SET CORRECTLYThis small piece of code replaces a ton of scripting simply because I no longer have to replace the original created party members with copies and thereafter ensure variables are carefully maintained if anything should happen to them. It impacts the following systems:
string sNewTag = GetRosterNameFromObject(oPC);
SetTag(oPC, sNewTag);
1) Initial setup of PCs.
2) Death and resurrection of PCs.
3) Further rostering of party members.
4) Between module transfer of PCs.
Many functions and heartbeat checks have been removed and replaced with one off scripts because of these changes, making the whole module less CPU intensive and more efficient as a whole.
PLOT PREFERENCES: Do Not Forget To Vote!
If you have not yet voted, then I am still after your vote (and feedback?) on your gaming preferences as requested in this post.
No comments:
Post a Comment