Jump to content

Photo

[2.55] Being grabbed by a Wallmaster


  • Please log in to reply
9 replies to this topic

#1 Twilight Knight

Twilight Knight

    Tell all with glee, Argon's on PureZC

  • Members
  • Real Name:Sven
  • Location:Rotterdam, NL

Posted 02 November 2021 - 01:30 PM

Hi everyone,

I'm a bit puzzled on this next one: how can I detect whether Link Hero is being grabbed by a Wallmaster?

 

I have some custom movement things such as a jump and pegasus dash scripted, which you can still trigger while being grabbed by a Wallmaster. Luckily it's not causing any functional problems, you can't escape the grasp of a Wallmaster, but it does look rather funky jumping in and out of his hand.

 

Any help would be greatly appreciated!  :D

 

 


  • Bagu likes this

#2 Bagu

Bagu

    Fandomizer

  • Members
  • Real Name:A.I. Bot Bottomheimer
  • Location:Germany

Posted 02 November 2021 - 02:49 PM

An easy way could be to script the wallmasters

....somthing like

 

if(this->X == Link->X && this->Y == Link->Y){Link->InputEx1 = false; Link->PressEx1 = false;}//Ex1 or any other assigned Jump button

...just an idea


  • Twilight Knight likes this

#3 Emily

Emily

    Scripter / Dev

  • ZC Developers

Posted 02 November 2021 - 03:13 PM

"Hero->Eaten"


  • Twilight Knight and Bagu like this

#4 Twilight Knight

Twilight Knight

    Tell all with glee, Argon's on PureZC

  • Members
  • Real Name:Sven
  • Location:Rotterdam, NL

Posted 02 November 2021 - 03:57 PM

Thanks a lot! I missed that Eaten property entirely (edit: I see it's an addition in 2.55, nice!)

It's much easier than scripting the entire enemy  :heh:


Edited by Twilight Knight, 02 November 2021 - 03:58 PM.

  • Bagu likes this

#5 Bagu

Bagu

    Fandomizer

  • Members
  • Real Name:A.I. Bot Bottomheimer
  • Location:Germany

Posted 02 November 2021 - 04:13 PM

It's much easier than scripting the entire enemy  :heh:

Definitly.

...my idea has just  been a quick shot.
 


Edited by Bagu, 02 November 2021 - 04:14 PM.

  • Twilight Knight likes this

#6 Twilight Knight

Twilight Knight

    Tell all with glee, Argon's on PureZC

  • Members
  • Real Name:Sven
  • Location:Rotterdam, NL

Posted 02 November 2021 - 04:50 PM

Definitly.

...my idea has just  been a quick shot.
 

I appreciate it! It would've been a good option if the Eaten property wasn't around


  • Bagu likes this

#7 Twilight Knight

Twilight Knight

    Tell all with glee, Argon's on PureZC

  • Members
  • Real Name:Sven
  • Location:Rotterdam, NL

Posted 03 November 2021 - 05:56 AM

Hero->Eaten works just fine with Like Likes, but not with Wallmasters in 2.55 alpha 98.

 

Is this a bug Emily?



#8 Emily

Emily

    Scripter / Dev

  • ZC Developers

Posted 03 November 2021 - 06:52 AM

Hero->Eaten works just fine with Like Likes, but not with Wallmasters in 2.55 alpha 98.

 

Is this a bug Emily?

ah, oof, apparently wallmasters are separate and no one added a variable for them for script... will have to add something new for that, then. "Hero->Grabbed" or something, will try to add it for next build.


  • Twilight Knight and Bagu like this

#9 Bagu

Bagu

    Fandomizer

  • Members
  • Real Name:A.I. Bot Bottomheimer
  • Location:Germany

Posted 03 November 2021 - 07:07 AM

ah, oof, apparently wallmasters are separate and no one added a variable for them for script... will have to add something new for that, then. "Hero->Grabbed" or something, will try to add it for next build.

I'm sure, I'm gonna use that too.
...since I love wallmsters and I use jump buttons in all of my projects :)


  • Twilight Knight likes this

#10 Twilight Knight

Twilight Knight

    Tell all with glee, Argon's on PureZC

  • Members
  • Real Name:Sven
  • Location:Rotterdam, NL

Posted 03 November 2021 - 12:03 PM

ah, oof, apparently wallmasters are separate and no one added a variable for them for script... will have to add something new for that, then. "Hero->Grabbed" or something, will try to add it for next build.

That'd be awesome, thank you!  :bounce:




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users