Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 132
    • Issues 132
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Issues
  • #1786

Closed
Open
Created Dec 03, 2024 by Lxlp@LxlpDeveloper

onHear variables not being set

Summary

The onHear trigger is supposed to set two variable

Placeholder Source Description
<skill.var.volume> ~onHear trigger Returns a float value between 1 and 15 representing the intensity of the sound. Directly proportional to the distance (the further away the source, the higher this value)
<skill.var.sound-type> ~onHear trigger Returns the type of the sound

But that does not work anymore in the latest dev build on a 1.21.3 paper server, as they return UNDEFINED

BillyTheConfused:
  Type: SKELETON
  Hearing:
    Enabled: true
  Skills:
  - message{m="SOUND <caster.uuid> <skill.var.volume> <skill.var.sound-type>"} @World ~onHear
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking