HARM_TYPE_PROJECTILE_USED

Post here for help and support regarding LunaLua and SMBX2's libraries and features.

Moderator: Userbase Moderators

DrMekar
Eerie
Eerie
Posts: 787
Joined: Sat Apr 08, 2017 7:16 am
Flair: CUSTOM CHARACTER CREATOR
Contact:

HARM_TYPE_PROJECTILE_USED

Postby DrMekar » Tue Feb 09, 2021 5:11 am

My next NPC is going to fly constandly, though the only Harmtype I want is Projectile Used. Unfortunatly throwing Blocks aren't doing it any harm. This is the Code:
https://pastebin.com/rGKSPSD5

Emral
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9891
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Phoenix

Re: HARM_TYPE_PROJECTILE_USED

Postby Emral » Tue Feb 09, 2021 5:33 am

PROJECTILE_USED refers to the NPC being the projectile, not getting hit by it. NPC is the harm type for getting hit by a projectile (among like 200 other things).

DrMekar
Eerie
Eerie
Posts: 787
Joined: Sat Apr 08, 2017 7:16 am
Flair: CUSTOM CHARACTER CREATOR
Contact:

Re: HARM_TYPE_PROJECTILE_USED

Postby DrMekar » Tue Feb 09, 2021 5:49 am

Enjl wrote:
Tue Feb 09, 2021 5:33 am
PROJECTILE_USED refers to the NPC being the projectile, not getting hit by it. NPC is the harm type for getting hit by a projectile (among like 200 other things).
Okay. I changed it to NPC, though the result remains the same. (I changed it in all Places of course.)


Return to “LunaLua Help”

Who is online

Users browsing this forum: No registered users and 1 guest

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari