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

Radar API with Jumpgate

I am having trouble with the Radar API detecting the NPC type with Jumpgate.  I can't get the Devine Sense to detect the creature type (in this case undead).  I did look in the attributes and NPC_Type undead is listed in the character sheet.  Is the script pulling the character type from somewhere else? Below is the script I am using  !radar {{   --range|       60 ft   --wavespacing|  35   --wavedelay|    50   --wavelife|     200   --pinglife|     3000   --layers|       gm, token, map   --charfilter|   npc_type: celestial#yellow, fiend#red, undead#blue, -nondetection   --title|        Divine Sense   --silent|       no gm   --units|        ft  --graphoptions| grid circle --output| graph table --LoS| false }}   
What game are you playing, and which character sheet are you using? If you're not sure, post a screenshot of the sheet. (It's always  helpful to post that with any troubleshooting).  Is your game set to use the Default or Experimental server? Is the token linked to the correct character? If you select the token, and enter this, what is the result? &{template:default} {{Name=@{selected|token_name} Stats}} {{Character Name=@{selected|character_name} }} {{npc_type=@{selected|npc_type} }} {{npc=@{selected|npc} }}
It's my own game. I am using the jumpgate with the 2024 character sheet. I am using the default server. This is the result from the above code
1764389192
timmaugh
Forum Champion
API Scripter
The 2024 sheet requires a different way of retrieving attribute values compared to legacy sheets. That, in turn, requires that scripts be updated to work with the 2024 sheet, and I'm not sure the Radar script was. I'm not saying this is the problem, definitively, but it could be. I'll see if I can poke David M., the author, to get his input.
I was afraid that it had something to do with the new character sheet.
spolebitski said: It's my own game. Just to be clear, when I'm asking what game you're playing, what I mean is are you playing D&D, Pathfinder, Call of Cthulu, Daggerheart, or one of the other hundreds of games that are played on Roll20. :)  And even within those game systems, there can be a wide variety of editions, and each one plays differently, and each one has a variety of possible character sheets that can be used. As Timmaugh mentioned, the issue here is that you're using the D&D 5E 2024 by Roll20 character sheet, and the Radar script does not work with Beacon-based character sheets (the D&D 2024 sheet is Beacon-based).