HARM_TYPE_PROJECTILE_USED

Post here for help and support regarding LunaLua and SMBX2's libraries and features.
User avatar
DrMekar
Eerie
Eerie
Posts: 746
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
My Youtube Channel: https://www.youtube.com/channel/UC-8fzX ... subscriber

My Episodes & Projects:
ImageImage


If you want to support my Projects, put this in your signature. Thanks :)
Spoiler: show

Code: Select all

[url=https://www.supermariobrosx.org/forums/viewtopic.php?f=36&t=25110[/url]
Great Folks who support/ed my projects/in the past:

Suecra
jaf
Suckerman7 GM

Image

Enjl
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9254
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Orphion Egamalenitar Osmos IV, Esq.

Re: HARM_TYPE_PROJECTILE_USED

Postby Enjl » 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).
All my assets from packs and episodes are free to use for non-Stargate levels and projects, as long as proper credit is given.

User avatar
DrMekar
Eerie
Eerie
Posts: 746
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.)
My Youtube Channel: https://www.youtube.com/channel/UC-8fzX ... subscriber

My Episodes & Projects:
ImageImage


If you want to support my Projects, put this in your signature. Thanks :)
Spoiler: show

Code: Select all

[url=https://www.supermariobrosx.org/forums/viewtopic.php?f=36&t=25110[/url]
Great Folks who support/ed my projects/in the past:

Suecra
jaf
Suckerman7 GM

Image


Return to “LunaLua Help”

Who is online

Users browsing this forum: No registered users and 2 guests