View Single Post
  #12  
Old 05-10-2006, 01:38 PM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
You could always make two classes for 'action mode' and 'movement mode' and do something like this to switch between the two:

PHP Code:
function SwitchModes(newmode) {
  
temp.newmode newmode;

  
temp.modes = { "move""action" };

  
putnpc2(xy"join chair_" temp.modes[temp.newmode] @ ";");

  
with(npcs[npcs.size()-1]) {
    for(
temp.vnamethiso.getvarnames()) {
      
this.(@temp.vname) = thiso.(@temp.vname);
    }

     
this.currentmode temp.newmode;
  }

  
destroy();

Or something like that X_x;
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
Reply With Quote