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
  • #527

Closed
Open
Created Aug 25, 2021 by Reuben Kabzinski@Reubimental

Placeholder Support for Target Options

Summary

Instead of just using Ignore=Player, having Ignore=<target.name> or Ignore=<global.var.target1name>

Usage

When combined with other variables, you can get a global.target1name variable to be equal to <target.name>, and then get global.target2name to be equal to <target.name> but ignoring the first one, so it essentially gets the SECOND player that would come up in this order.

VariablePlayer1: Skills: - setvariable{var=global.target1name;val=<target.name>;type=STRING} @NearestPlayer{r=10} - skill{s=VariablePlayer2} @Self VariablePlayer2: Skills: - setvariable{var=global.target2name;val=<target.name>;type=STRING} @NearestPlayer{r=10;ignore="<global.var.target1name>"} - skill{s=VariablePlayer3} @Self

Value

This would allow further implementation of lists within text for either addressing groups of people in dialogue, or developing scoreboards where more than 1 person is involved.

Priority

Low. It would be extremely valuable, if not overlooked, to have, but isn't necessary for the base function of the plugin or its content.

Implementation

Add STRING Placeholder support to the arguments for Target Options. Enhancement

Edited Aug 27, 2021 by Reuben Kabzinski
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking