Solved Citizen create

  • 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 comminuty!

    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.

HiqqhFive

Supporter
Jan 28, 2017
60
6
8
26
Germany
Hey,
I want to create an NPC, but it doesn't work.

Skript Ver: 2.2
MineCraft Ver: 1.8


Code Full:
code_language.skript:
command /test:
    trigger:
        create a citizen named "test" 0.7 above event-location

Errors:
slol77kn.png


Addon:
- Umbaska 2.0 Beta 5.5.1
- Skellett 1.7.8

Have you tried searching the docs? Yes
Have you tried searching the forums? Yes

Please help me.
Thanks
 
Last edited:
@HiqqhFive It's an expression so that you can easily manage and manipulate it stright after creating it.

code_language.skript:
set {_npc} to a new citizen named "test" 0.7 above event-location
set the name of npc {_npc} to "Example"
 
  • Like
Reactions: FrostedWeFall
Status
Not open for further replies.