[Tuto] To correctly handle custom weapon hit
Moderator: NADEO
Re: To correctly handle custom weapon hit
Hey Nadeo added a new method RemovePlayerArmor, did you figured out what's different from AddPlayerWeapon? Hylis said it's the same, so I don't get why adding a copy of an existing method just to have a different name...
Follow me on my maniaflash. Try the new elitealternative! Feedbacks on this post. 
♫ I need αεÑø. I'm holding out for αεÑø 'til the end of the night. ♫

♫ I need αεÑø. I'm holding out for αεÑø 'til the end of the night. ♫
Re: To correctly handle custom weapon hit
i was asking me the same
but as RemoveXArmor makes more sense than AddXArmor i would like to suggest marking the AddX method as deprecated
but as RemoveXArmor makes more sense than AddXArmor i would like to suggest marking the AddX method as deprecated
Re: To correctly handle custom weapon hit
I added a RemovePlayerArmor(...). Parameters are the same as AddPlayerArmor(), except you don't need a minus for the damage.
And yeah, we can probably mark AddX as deprecated.
And yeah, we can probably mark AddX as deprecated.
- Dommy
- Translator
- Posts: 1866
- Joined: 25 Aug 2011, 21:45
- Manialink: exchange
- Location: Poland
- Contact:
Re: [Tuto] To correctly handle custom weapon hit
I updated topic with link to GitHub tutorial
.
Can some mod sticky the topic (and btw unstick "Show your actions here")?

Can some mod sticky the topic (and btw unstick "Show your actions here")?
Ryzen 7 2700X, GTX 1070 Ti, 16 GB RAM, Windows 10 Insider Build
FORUM MODERATOR • CREATOR OF SHOOTMANIA GALAXY & TRACKMANIA² PURSUIT
Contact me via GALAXY & PURSUIT DISCORD
FORUM MODERATOR • CREATOR OF SHOOTMANIA GALAXY & TRACKMANIA² PURSUIT
Contact me via GALAXY & PURSUIT DISCORD
Who is online
Users browsing this forum: No registered users and 1 guest