MysticalMist
Active member
So I have this boss fight level where it's taking place atop a moving flatbed truck. When the boss is defeated, I want him to fall out belger-style as if he was knocked out onto the road.
This is what I have thus far, the falldie state is currently set to 2 since it didn't want to cooperate if a player uses a throw/slam (slamscript-style).
This is what I have thus far, the falldie state is currently set to 2 since it didn't want to cooperate if a player uses a throw/slam (slamscript-style).
Code:
anim death
@script
if(frame==0){
void self = getlocalvar("self");
changeentityproperty(self, "direction", 1);
changeentityproperty(self,"subject_to_wall",0);
changeentityproperty(self,"subject_to_screen",0);
changeentityproperty(getlocalvar("self"), "antigravity", 2);
}
@end_script
offset 89 87
delay 300
frame data/chars/Striker/dmg/3.png