#(flazockt) Multi mob NPC
54 messages · Page 1 of 1 (latest)
(flazockt) Multi mob NPC
Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
its literally just an on damaged event, and flagging them
flag the first npc with a flag containing the second noc
!c mount
entity
mount (cancel) [<entity>|...] (<location>)
Mounts one entity onto another.
Mounts an entity onto another as though in a vehicle.
Can be used to force a player into a vehicle or to mount an entity onto another entity, for example a player onto an NPC.
If the entity(s) don't exist they will be spawned.
Accepts a location, which the entities will be teleported to on mounting.
why not just make their health a flag then??
well i use sentinel
give them a shit ton of health and just flag em with a shared health flag, when theyre damaged change the flag value
oh
uhh i got no clue on sentinel so
and i need multple of them
well why couldnt my first solution work??
wanna try it first?
ok
when they spawn, flag each npc with the other one
how?
and then when eithers damaged, damage the other one too
ingame
Help us help you by pasting your script to https://paste.denizenscript.com/New/Script and linking it back here.
yes
server
execute [as_player/as_op/as_npc/as_server] [<Bukkit-command>] (silent)
Executes an arbitrary server command as if the player, NPC, or server typed it in.
Allows the execution of server commands through a Denizen script.
Commands can be executed as the server, as an npc, as an opped player, or as a player, as though it was typed by the respective source.
Note that you should generally avoid using 'as_op', which is only meant for very specific special cases. 'as_server' is usually a better option.
Note: do not include the slash at the start. A slash at the start will be interpreted equivalent to typing two slashes at the front in-game.
Note that...
ok
search around the discord for an example
i know drgf had a few scripts around
ill try to find them but im on mobile so no promises
ok
i have another question is there an repeat command that repeats until an condition is there?
wait found it
waituntil
or a while loop
😭
Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.
If not yet resolved, please reply below to tell us what you still need.
(Note that if there is no reply for a few days, this thread will eventually close itself.)
@nocturne current