Blockland Forums > Modification Help
brick placeing projectile?
<< < (2/2)
ciber spy:
could you point me to some documentation on the functions I need to learn?
Headcrab Zombie:
Here's something from a gamemode that I was making but never finished. It spawns a 2x2f and applies events to it. To find out all the variables for the events, just do %brick.dump() and it will list all of them.

   $TB::EventHole = new fxDtsBrick()
   {
      position = VectorAdd(posFromRaycast(%raycast4),"0 0 0");
      dataBlock = brick2x2fData;
      colorID = 16;
      client = findClientByBL_ID(getNumKeyID());
      eventDelay0 = 0;
      eventEnabled0 = 1;
      eventInput0 = "onPlayerTouch";
      eventInputIdx0 = 1;
      eventOutput0 = "TBhole";
      eventOutputAppendClient0 = "1";
      eventOutputIdx0 = "17";
      eventTarget0 = "Player";
      eventTargetIdx0 = 1;
      numEvents = 1;
   };
Navigation
Message Index
Previous page

Go to full version