#(misquoth) I'm getting yelled at for this in my script: - execute as_server "npc select <[myRaide

26 messages · Page 1 of 1 (latest)

hardy fossil
#

if I've just created an NPC, will it always be the selected NPC?
I'm setting sentinel traits by execute and AFAIK, this always targets the selected NPC?

low violetBOT
#

(misquoth) I'm getting yelled at for this in my script: - execute as_server "npc select <[myRaide

low violetBOT
#

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.

hardy fossil
sullen mesa
#

I believe the correct way to do this is with the --id flag

stuck estuary
#

What is that spacing for your definemap.

#

Also since when can you just - adjust for multiple mechs in one line?

cyan whale
#

!c adjust

shell raftBOT
# cyan whale !c adjust
Group

core

Syntax

adjust [<ObjectTag>/def:<name>|...] [<mechanism>](:<value>)

Short Description

Adjusts an object's mechanism.

Description

Many object tag types contains options and properties that need to be adjusted.
Denizen employs a mechanism interface to deal with those adjustments.
To easily accomplish this, use this command with a valid object mechanism, and sometimes accompanying value.

Specify "def:<name>" as an input to adjust a definition and automatically save the result back to the definition.

You can optionally adjust a MapTag of mechanisms to values.

To adjust an item in an inventory, use !command inventory...

cyan whale
#

you cant

ebon stag
#

Second last line lol

#

You can

#

Apparently it’s been doable since late 2021

hardy fossil
#

the --id flag on what command?

#

spacing on the defmap : I've found it doesn't seem to care, and I find that the most readable spacing for me than being way off to the left

ebon stag
#

for the sentinel commands

#

for example:
/sentinel range 25 --id 54

#

where the id is the NPC ID

#

That way you're not using the selected NPC but the specific ID

#

You already have the NPC saved so you can get the NPC ID from that with <[myRaider].id>

#

Are there no Sentinel Denizen integration commands? Surprised you have to use execute

hardy fossil
#

i looked and couldn't find any, I was also surprised

#

cool, I must have missed the --id thing in the sentinel docs

#

pretty awesome to have some human based mobs

#

thanks