Thread: -keyNOTdown(i)
View Single Post
  #41  
Old 01-14-2004, 07:21 PM
Kristi Kristi is offline
Bowie's Deciple
Kristi's Avatar
Join Date: Dec 2003
Location: Boston, MA
Posts: 748
Kristi has a spectacular aura aboutKristi has a spectacular aura about
Send a message via AIM to Kristi Send a message via MSN to Kristi
Quote:
Originally posted by Loriel
Certainly is not more efficient, but I deem it more readable or compact, especially with constructions like this
NPC Code:
  if (static == false && playerfreezetime <= 0) {
setstring this.temp,"idle sit walk carry swim","carrystill carrysit carry carryrun","grab push pull","attack","hurt dead";
tokenize #I(this.temp,this.mode);
setani #t(this.submode),;
setstring this.temp,;
}

well yes in that particular case it seems to be a good choice, but the previous was a binary variable =p
although it seems like in order to have that code, youre assigning both variables somewhere, and you could just setani on the spot =X
__________________
Reply With Quote