#(peeko3723) Another NPC question.
22 messages · Page 1 of 1 (latest)
(peeko3723) Another NPC question.
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.
!paste
Help us help you by pasting your script to https://paste.denizenscript.com/New/Script and linking it back here.
Could you provide your script please
Sure
Content of Denizen Script Paste #121971: Showcase Script... pasted 2024/04/14 00:13:35 UTC-07:00, Paste length: 661 characters across 21 lines, Content: test_assignment: type: assignment
!c cooldown
core
cooldown [<duration>] (global) (script:<script>)
Temporarily disables an interact script for the linked player.
Temporarily disables an interact script for the linked player.
Cooldown requires a type (player or global), a script, and a duration.
It also requires a valid link to a PlayerTag if using a non-global cooldown.
To cooldown non-interact scripts automatically, consider !command ratelimit.
Cooldown periods are persistent through a server restart as they are saved in the 'saves.yml'.
You can add a cooldown on it, to prevent firing it multiple times.
Or use the engage/disengange command pairs.
!c engage
Citizens
npc
engage (<duration>) (player)
Temporarily disables an NPCs toggled interact script-container triggers.
Engaging an NPC will temporarily disable any interact script-container triggers.
To reverse this behavior, use either the disengage command, or specify a duration in which the engage should timeout.
Specifying an engage without a duration will render the NPC engaged until a disengage is used on the NPC.
Engaging an NPC by default affects all players attempting to interact with the NPC.
You can optionally specify 'player' to only affect the linked player.
While engaged, all triggers and actions...
!c disengage
Citizens
npc
disengage (player)
Enables an NPCs triggers that have been temporarily disabled by the engage command.
Re-enables any toggled triggers that have been disabled by disengage.
Using disengage inside scripts must have an NPC to reference, or one may be specified by supplying a valid NPCTag object with the npc argument.
Engaging an NPC by default affects all players attempting to interact with the NPC.
You can optionally specify 'player' to only affect the linked player.
This is mostly regarded as an 'interact script command', though it may be used inside other script types.
This is because disengag...
super thanks
if I have a follow up question should I ask it here or should I make a new post
You can make a new post
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.)
@wide swift