Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Referencing character name when no character sheet?

I'm trying to create an ability macro for a monster that would look like this: /em @{selected|character_name} jumps all over @{target|character_name}! /roll 1d6 This is in a game without character sheets. Bit bemused, as the chat result finds the 'selected' character_name (despite there being no attribute set), but can't find the 'target' character_name... ? Is it possible to reference the target's name without a character sheet loaded? s
1591143128

Edited 1591143160
Kraynic
Pro
Sheet Author
On the target portion of your macro, try changing the "character_name" portion to "token_name". Then, as long as the token is named, it doesn't matter if it is linked to a sheet or not.
1591154346

Edited 1591154474
Oosh
Sheet Author
API Scripter
Are you sure you don't have a Creep Swarm character sheet in your journal? That really shouldn't be working. As Kraynic said, token_name will do what you want, but an unlinked token should be giving you absolute peanuts with that @{selected|character_name} Attribute reference.
Ah, I think I see my problem here. Yes, I do have a Creep Swarm character, but I also have a Player1 character, which the targeted token is supposed to represent. What I'd done is set the default token on the character sheet for Player1, and dragged the character to the tabletop, creating that token. I'd assumed it would be set to represent the Player... now I realise I have to set that on the token before i set it as default.... A little knowledge is dangerous. thanks all. s