Make NPC damage player

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

Cripacx

Member
Oct 24, 2019
2
0
0
49
Hello, can someone help me, how to make the npc to damage a player? I testet this already:
(make|force) [the] (npc|citizen) %citizen% [to] (target|attack|damage|follow) %entity% [[with] [aggressive [state]] %-boolean%]
I testet for example this:
command /test:
trigger:
make npc "Test" to attack "%player%"
or
command /test:
trigger:
make npc "Test" to attack player

Both doesn't work... Can someone help?
 
Okay, how should i do this?
command /test:
trigger:
make npc 1 attack player
Is it so right?
you should check the syntaxes of addon if that's right, I don't work with citizens in skript, just know that they use IDs
 
Status
Not open for further replies.