tightninja
Member
It seems "opponent" is the last entity hit correct?
Is "target" the entity about to be hit (within range of attack?
Is "target" the entity about to be hit (within range of attack?
Is "target" the entity about to be hit (within range of attack?
void ani005(void vTar, void vAni, int iFrame){
//ani005
//Damon Vaughn Caskey
//07/31/2007
//
//Change target entity to desired animation.
//
//vTar: Target entity (see vTar001 for settings).
//vAni: Animation cosntant.
//iFrame: Frame.
void vSelf = getlocalvar("self"); //Get calling entity
void vTarget = vTar001(vTar, vSelf); //Target.
changeentityproperty(vTarget, "animation", openborconstant(vAni)); //Switch to desired animation.
changeentityproperty(vTarget, "animpos", iFrame); //Switch to desired frame.
C:void ani005(void vTar, void vAni, int iFrame){ //ani005 //Damon Vaughn Caskey //07/31/2007 // //Change target entity to desired animation. // //vTar: Target entity (see vTar001 for settings). //vAni: Animation cosntant. //iFrame: Frame. void vSelf = getlocalvar("self"); //Get calling entity void vTarget = vTar001(vTar, vSelf); //Target. changeentityproperty(vTarget, "animation", openborconstant(vAni)); //Switch to desired animation. changeentityproperty(vTarget, "animpos", iFrame); //Switch to desired frame.
So in this script or ones similar the "target" would be player or other entity. This would not function if used in a player entity file