Author Topic: Hookshot fix  (Read 632 times)

I'm asking if someone could remake the hookshot, but instead of the "infinite reach that latches onto everything that you can spam to escape everything" hookshot, if you could make a hookshot with limited reach, (15-30 brick reach) that can only latch onto bricks with a certain event.
OnHstuff> player> Iftargetistrue> activatehookshot So if it hits a set target, it will latch on and pull you to it.
OnHstuff> Player> Iftargetisfalse> NOEVENT             If it hits anything that is not a target, nothing happens.
Onactivate> Brick> Settarget. This sets if a brick will be a target or not.
Link to original

OnHstuff> Player> Iftargetisfalse> NOEVENT             If it hits anything that is not a target, nothing happens.
Onactivate> Brick> Settarget. This sets if a brick will be a target or not.

These events are useless. All we'll need is the OnHstuff and an output event that drags the player to the brick.
« Last Edit: October 21, 2012, 12:39:22 PM by Isaac Fox »

These events are useless. All we'll need is the OnHstuff and an output event that drags the player to the brick.
Not quite sure I'm following you here...
I'm trying to get a hookshot that only hooks onto certain bricks, not everything.
« Last Edit: October 21, 2012, 06:55:14 PM by Cool Boi »

I read "Hstuff" as "H stuff"...

I read "Hstuff" as "H stuff"...
I was going to put in a thing about how I knew that it looked like it said that, but I decided to let you find it on your own.

Not quite sure I'm following you here...
I'm trying to get a hookshot that only hooks onto certain bricks, not everything.

There wouldn't be a point to the other events if we're going to have the OnHstuff event.

It's hard to explain, but that one event, and an output event that drags the player to the brick are the only events that we'll need. All the others are pointless.

Any brick it hits that doesn't have this event will already do nothing, but it will work for every brick that does have it.

As for the switching between if the brick is a target or not thing, this can be done using SetEventEnabled/ToggleEventEnabled on the OnHstuff event.
« Last Edit: October 22, 2012, 12:52:02 PM by Isaac Fox »

-snip-
Oh.. Now I understand what you were trying to say, I think that that actually sounds better than my original idea. Know anyone who can do this?