Solved event-entity won't work properly?

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

danthemanzx

Member
Sep 28, 2020
4
0
1
This is the code. For some reason it will not register the event-entity as a creeper.
But it will work for skeletons, and zombies?

Code:
    #
    # CREEPER
    else if event-entity is a creeper:
        set {%player%.targetMob} to "CREEPER"
        set {_monsterHealth} to {@CREEPER}
        set {_monsterEffects::*} to {@CREEPER EFFECTS}
        set {_monsterItems::*} to {@CREEPER ITEMS}
        set {_monsterFly} to false
[doublepost=1601263721,1601263350][/doublepost]It is under this trigger
Code:
on right click on mob:
[doublepost=1601264447][/doublepost]nevermind. solved. my else statement was not working properly aparently
 
This is the code. For some reason it will not register the event-entity as a creeper.
But it will work for skeletons, and zombies?

Code:
    #
    # CREEPER
    else if event-entity is a creeper:
        set {%player%.targetMob} to "CREEPER"
        set {_monsterHealth} to {@CREEPER}
        set {_monsterEffects::*} to {@CREEPER EFFECTS}
        set {_monsterItems::*} to {@CREEPER ITEMS}
        set {_monsterFly} to false
[doublepost=1601263721,1601263350][/doublepost]It is under this trigger
Code:
on right click on mob:
[doublepost=1601264447][/doublepost]nevermind. solved. my else statement was not working properly aparently

Can you mark the Thread as solved and maybe help others by putting in the solution :emoji_slight_smile:?
 
Status
Not open for further replies.