Hammer & Hammer-triggered events

Author Topic: Hammer & Hammer-triggered events  (Read 1758 times)

I have been playing a lot of Mario and Luigi Superstar Saga, and I thought that it would be cool to have a hammer item that triggers certain events based on it's rank, since in game you can only break certain rocks until you get a hammer upgrade.

Ranks in order from Normal, Super, and Ultra
I was thinking it could work kind of like the colored keycard addon.
onUltraHit
onSuperHit
onNormalHit

also make it so that if you hit one block for 416 years the game crashes

also make it so that if you hit one block for 416 years the game crashes
This would make no sense had I not watched a video that explained this

I'd rather have a general onWeaponHit and have it set a VCE variable on the object, so as to not clutter up the inputs menu.

You'd probably want to look at the RPG Pickaxe/Axe script for this though.
« Last Edit: August 17, 2017, 02:26:21 PM by Super Suit 12 »

This would make no sense had I not watched a video that explained this

I'd rather have a general onWeaponHit and have it set a VCE variable on the object, so as to not clutter up the inputs menu.

You'd probably want to look at the RPG Pickaxe/Axe script for this though.
that's generally just onProjectileHit

that's generally just onProjectileHit
I didn't think melee weapons triggered that. I thought they worked based on raycasts and explosions.

I didn't think melee weapons triggered that. I thought they worked based on raycasts and explosions.

all weapons use raycasts or projectiles

there's no special "melee" weapon type or anything
« Last Edit: August 18, 2017, 01:11:55 PM by Electrk. »

« Last Edit: August 18, 2017, 03:28:00 PM by Super Suit 12 »


So you're saying raycasts trigger onProjectileHit? I thought that was only... well, projectiles.

like the default hammer and printer and all that dont do it but weapons do

So you're saying raycasts trigger onProjectileHit? I thought that was only... well, projectiles.

you said you didn't think melee weapons triggered that
I said some melee weapons use projectiles
« Last Edit: August 18, 2017, 04:20:09 PM by Electrk. »