#(sermega) Can any person help with my first script?

29 messages · Page 1 of 1 (latest)

mellow gulchBOT
#

(sermega) Can any person hel with my first script?

#

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.

hollow hearth
#

(sermega) Can any person help with my first script?

unreal tendon
#

You can't put tags in an event line.

#

!e enters proximity

edgy elkBOT
#
Possible Confusion

Did you mean to search for entity enters portal?

unreal tendon
#

Hmm.

#

!l assignment script container

edgy elkBOT
# unreal tendon !l assignment script container

Assignment script-containers provide functionality to NPCs by 'assignment' of the container. Assignment
scripts are meant to be used when customizing the normal behavior of NPCs. This can be used on a 'per-NPC' basis,
but the encouraged approach is to design assignment scripts in a way that they can be used for multiple NPCs,
perhaps with the use of constants or flags to determine specific information required by the scripts.

Features unique to assignment script-containers include 'actions' and 'interact script' assignment.
Like any script, the ability to run local utility scripts can be accomplished as well. This allows fully
interactive NPCs to be built purely with Assignment Scripts, and for advanced situations, world scripts and
interact scripts can provide more functionality.
See als...

Group

Script Container System

unreal tendon
#

!g assignment

edgy elkBOT
unreal tendon
#

It is kind of confusing.

#

On assignment action should be enabling the trigger for proximity. Then with your interact script that you supply you can provide a proximity step so that it does something when you approach it.

hollow hearth
#

So the script has good sintaxis and everythin correct?

unreal tendon
#

No.

#

Not at all.

#

Where did you pull npc key from?

hollow hearth
#

the id of the npc id ingame

#

/npc id

unreal tendon
#

No, as in.

#

Where did it say you can use npc: as a key in your script?

short cipher
#

chatgpt?

hollow hearth
#

yes

lean stratus
#

ChatGPT isn’t ready to write Denizen code yet. You will be better served by taking time to learn it yourself and asking g questions here when you get stuck. 👍

#

!chatgpt

edgy elkBOT
# lean stratus !chatgpt
Info: chatgpt

No, ChatGPT cannot write working scripts.

ChatGPT is known to often be "confidently wrong", meaning- It will try, it will output something that looks like a script, it will assure it it works, and it will not work.

ChatGPT is a cool tool, and it can do a lot of cool things, but it is not sufficiently intelligent enough to write working code as of yet, especially not in smaller languages like Denizen script (as opposed to huge languages like C or Python).

(GitHub Copilot, which supplies single lines at a time based on the surrounding code you've already written, can sometimes be accurate and helpful).

sharp loomBOT
#

@hollow hearth

Thread Close Blocked

Thread was closed either automatically by timeout or by the Discord manual close button. If closing was intentional, please use </resolved:1028673926114594866> or </invalid:1028673926898909185>.