Calling block via Script

  • Thread starter Thread starter MatMan
  • Start date Start date
M

MatMan

Guest
How does a person call a block animation, I gotten the animation to play but the player never actually blocks, just gets hit.
I've set the aiflag (blocking) and I've told the engine to takeaction (block) but still no go.

We had this answer on the old site but......
 
For old reason, you need to make sure you have nopassiveblock 1

 
Oh, another thing is you'd better put flag and ai change before animation change.
I don't know which is causing problem unless I see your code.
 
That's funny matman, I usually set this flag to turn an animation as block animation:

changeentityproperty(self, "aiflag", "blocking", 1);

Setting last parameter to 0 will turn off blocking status.
 
Back
Top Bottom