Blockland Forums > Modification Help
Fixing the Lockpick
<< < (3/3)
Nexus:
function CityRPGBatonItem::onHitObject(%this, %player, %slot, %col, %pos, %normal)
{
   parent::OnHitObject(%this, %player, %slot, %col, %pos, %normal);
   if(%col.getClassName() $= "fxDTSBrick")
   {
      if(%col.getDatablock().FindSomeIndicatorOfAJvsDoor)
         %col.fakeKillBrick(#, #);
   }
}

actually, just replace where it says DoorOpen in the script you currently have with the fakeKillBrick thing.  Thats the easiest way.
rainzx:

--- Quote from: ThinkInvisible on February 01, 2011, 10:44:27 PM ---DO NOT FIX THE LOCKPICK!

I've been in a server where someone 'fixed' it, and so many noobs were busting down locked doors and stuff that you really want locked that i just left. This would bring a whole new level of noobdom.

--- End quote ---
.....
Navigation
Message Index
Previous page

Go to full version