Can't get removeallfrominitiative to remove PC tokens

Discuss macro implementations, ask for macro help (to share your creations, see User Creations, probably either Campaign Frameworks or Drop-in Resources).

Moderators: dorpond, trevor, Azhrei, giliath, jay, Mr.Ice

Post Reply
el taco bueno
Kobold
Posts: 4
Joined: Wed Aug 12, 2020 7:05 pm

Can't get removeallfrominitiative to remove PC tokens

Post by el taco bueno »

Short and sweet. Couldn't find it in the search, so I am assuming it may just be a setting or something.

I have a simple macro that I just click to clear everything off of the initiative panel to start fresh for another encounter. However, it will not clear PC tokens. I have tried changing PC tokens ownerships and have verified that I am the GM, but neither worked. If I make the token an NPC, the macro will then clear it.

btw, the macro is just:

[h: Removeallfrominitiative()]

Edit: I have also tried RemoveallPCsfrominitiative() and it doesn't work either. No errors are appearing and the number returned when not hidden is 0. So perhaps it's not recognizing the token as a PC even though it's labeled as such?

User avatar
Full Bleed
Demigod
Posts: 4736
Joined: Sun Feb 25, 2007 11:53 am
Location: FL

Re: Can't get removeallfrominitiative to remove PC tokens

Post by Full Bleed »

Maptool is the Millennium Falcon of VTT's -- "She may not look like much, but she's got it where it counts."

el taco bueno
Kobold
Posts: 4
Joined: Wed Aug 12, 2020 7:05 pm

Re: Can't get removeallfrominitiative to remove PC tokens

Post by el taco bueno »

Full Bleed wrote:
Tue Nov 10, 2020 10:22 pm
Functions are case sensitive.

Wiki: removeAllFromInitiative()
Wiki: removeAllPCsFromInitiative()
Well dang, that was short and sweet. Thanks for the help haha :oops:

Post Reply

Return to “Macros”