Gurtag Active member Friday at 7:57 PM #1 hey guys is there a way or script to make an attackbox freeze/stun enemies but they go to pain when hit instead of been knocked down by default?
hey guys is there a way or script to make an attackbox freeze/stun enemies but they go to pain when hit instead of been knocked down by default?
Bloodbane Well-known member Yesterday at 9:03 AM #2 You could declare this damagescript in enemies text for that: hitF.c C: void main() {// void self = getlocalvar("self"); //Get calling entity. int StuTime = getentityproperty(self, "freezetime"); if(StuTime > 0){ changeentityproperty(self, "nodrop", 1); } else { changeentityproperty(self, "nodrop", 0); } } Declare it with this line: takedamagescript data/scripts/hitF.c Click to expand... Upvote 0 Downvote
You could declare this damagescript in enemies text for that: hitF.c C: void main() {// void self = getlocalvar("self"); //Get calling entity. int StuTime = getentityproperty(self, "freezetime"); if(StuTime > 0){ changeentityproperty(self, "nodrop", 1); } else { changeentityproperty(self, "nodrop", 0); } } Declare it with this line: takedamagescript data/scripts/hitF.c Click to expand...
SEEGET Active member Today at 7:23 AM #3 neat @Bloodbane i really wanted something like this for my boss battle thanks Upvote 0 Downvote