Skellett Disguises (how to disguise mob for ALL players)

  • 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.

Tristag

Member
Jan 26, 2017
14
0
0
Hey! so weird thing is happening, whenever I try to disguise something with skellett disguises it only seems to disguise for the person executing the command.

I've tried this:

code_language.skript:
        set {_d} to new disguise with type "VILLAGER" to all players
        set disguise of last spawned entity to {_d}

But it just throws an error... The original syntax is simply:

code_language.skript:
        set {_d} to new disguise with type "VILLAGER"
        set disguise of last spawned entity to {_d}

That works, however only for the person executing the command :/

Any help would be awesome! Thanks!
 
what happens if console executes the command

The disguise works for no one.

Its really strange cause I don't see how/why the disguise would only work for the person who executed the command...

What I could try when I get home is looping all players and setting the disguise but that seems a bit inefficient.
 
maybe just execute the disguise command yourself instead of using skellet
code_language.skript:
execute console command "/disguise whatever"
 
maybe just execute the disguise command yourself instead of using skellet
code_language.skript:
execute console command "/disguise whatever"

I'm trying to disguise the last spawned entity though, is the only problem :/
 
hmm i guess you would have to loop all players like you said then, unless someone knows why its not working
 
Status
Not open for further replies.