#(sermega) Can any person help with my first script?
29 messages · Page 1 of 1 (latest)
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.
(sermega) Can any person help with my first script?
Did you mean to search for entity enters portal?
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...
Script Container System
!g assignment
View the guide page 'Who Am I: Assignment Scripts (PARTIAL)' at: https://guide.denizenscript.com/guides/npcs/assignment-scripts.html
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.
So the script has good sintaxis and everythin correct?
chatgpt?
yes
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
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).
@hollow hearth
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>.