#(crazymarty) Show a specific entity
1 messages · Page 1 of 1 (latest)
(crazymarty) Show a specific entity
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.
You could store the npc in a server flag and then reference it in your script
Could you tell me how that is done? The storing part and referencing it in script?
!g flags
View the guide page 'Long Term Memory: Flags' at: https://guide.denizenscript.com/guides/basics/flags.html
This would be much easier but I wonder why a downvote? 🤔
This is a bad way to handle things
It's like typing raw locations
!guide raw location
View the guide page 'Common Mistakes - Don't Script Raw Locations' at: https://guide.denizenscript.com/guides/troubleshooting/common-mistakes.html#don-t-script-raw-locations
/ex flag server fancy_npc:<player.target> - while looking at it
/ex narrate <server.flag[fancy_npc]> - to call it
but is an object tag
easier to reference
sometimes, raw olcations can be useful for inpoutting a value. for eg. i ahve a dungeon that generates instances in every world, and is always the same. so you provide a dungeon_name* wildcard
usually not the best way to do things tho
tldr, when you need a constant across multiple worlds
Could utilize world flags heh and then check world_flagged[xyz] in scripts
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.)
@analog ice
Hey, do not close this yet, tmr I am going to work on this, gonna test it
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.)
@analog ice