Solved SuperHeroes Plugin hulk power

Discussion in 'Plugin Development' started by JackSniper4, Feb 7, 2019.

  1. Offline

    JackSniper4

    Hello Everybody
    i'm making a new SuperHeroes plugin
    i made Flash and Thor and Iron man and super man powers but i couldn't make hulk powers
    so i made the high jump using
    Code:
    setVelocity(new Vector(x,y,z));
    and i managed to make explosion when he jumps so he first drops any item and creates an explosion then jump i need to reverse it by making him jump then when he is grounded after jumping not using onMove function do explosion please Help

    Edit: Fixed it by making a boolean isEnabled() in my powers function and making new void that has a loop works after isEnabled sets to true and see if player isgrounded and after he is grounded first code to stop checking and createsExplosion
     
    Last edited: Feb 7, 2019

Share This Page