"sequence": [
{
"filters": {
"test": "bool_property",
"subject": "self",
"domain": "toro:gethit_cd",
"operator": "equals",
"value": false
},
"set_property": {"toro:gethit_cd": true},
"trigger": "minecraft:hurtsound",
"randomize": [
{"weight": 30, "queue_command": {"command": "scriptevent say:hieveryone" }},
{"weight": 70, "trigger": "minecraft:nothing"}
]
}
]
},
"minecraft:hurtsound":{"queue_command": {"command": ["playsound mob.wither.hurt @a ~ ~ ~","execute at @p[tag=dev] at @s run say SKILL_GETHIT"]}}```
#Help
1 messages · Page 1 of 1 (latest)
@past bronze
another bug belike
Is your script event triggering the message ok?
it even can't run the trigger
the execute command doesn't say anything
Shot in the dark:
"minecraft:gethit": {
"sequence": [
{
"filters": {
"test": "bool_property",
"subject": "self",
"domain": "toro:gethit_cd",
"operator": "equals",
"value": false
},
"set_property": {
"toro:gethit_cd": true
},
"trigger": "minecraft:hurtsound",
"randomize": [
{
"weight": 30,
"queue_command": {
"command": "scriptevent say:hieveryone"
}
},
{
"weight": 70,
"queue_command": {
"command": "scriptevent say:nothing" // Replace with a valid command or action
}
}
]
}
]
},
"minecraft:hurtsound": {
"queue_command": {
"command": [
"playsound mob.wither.hurt @a ~ ~ ~",
"execute at @p[tag=dev] run say SKILL_GETHIT"
]
}
}
hurtsound event its okay, so the problem is the event is not triggering