Bruce
Active member
Hello everyone,
is there a way to use it in script?
?
I have the situation where I want to damage and knock up the target at certain distance and height depending on the player location.
I can't seem to find the script for attack{#} or similar (sorry if there is one on the forum already).
There are
But it is not the same.
Sorry for the noob question and thank you so much.
is there a way to use it in script?
Code:
attack{#} {x} {y} {right} {down} {damage} {power} {block} {noflash} {pausetime} {z}
dropv _ _
I have the situation where I want to damage and knock up the target at certain distance and height depending on the player location.
I can't seem to find the script for attack{#} or similar (sorry if there is one on the forum already).
There are
Code:
damageentity(target, self, 0, 0, openborconstant("ATK_NORMAL9"))
changeentityproperty(target, "attacking", 1);
changeentityproperty(target, "damage_on_landing", Damage);
changeentityproperty(target, "projectile", 1);
changeentityproperty(target, "direction",TargetDir);
tossentity(target, Y, x, 0); // Toss opponent ;)
But it is not the same.
Sorry for the noob question and thank you so much.
Last edited: