TSR_MapPopups

@Skurge you use the ID of the follower 1 for first, 2 for second, else if its
0 indexed for followers, set 0 for first, 1 for second (you need to test it
as I dont own MZ).

index is just a reference for you to set the number or the follower.
Ooh fantastic stuff, I'm looking forward to working with this.
Just to further ask since i'm not the most experienced with understanding script-

Do you insert the index number like this or this?

$gamePlayer.followers().follower(2)
or
$gamePlayer.followers(2).follower(index)
Hello, use: $gamePlayer.followers().follower(2)
*As shadowDragon explained, it's an array, so follower(0) means the first follower (second party member), and follower(2) is the third (last) follower.

Regards.
Hello,
this is a great plugin! The only problem I'm having is that in my game events are copied and generated so I don't know the event ID in advance when game-making.
So I can't call the pop-up on the event.
Is there a way or a script command to make so that the animation targets "the current event"?

Thank you so much

EDIT: Nevermind, found it in the previous pages, I need to use "-1" Thank you
@WereWorld alternatively, you could also try "this.event()" or the likes for
the current event to call it.

but everything should be in the helpfile as needed ^^
Hi, i am currently using your plugin, however, is there a way i not make the words animated? i want it to be a random dialogue of an NPC and i dont want it to move up and down, is there a way to do that?
Hello.
Hi, i am currently using your plugin, however, is there a way i not make the words animated? i want it to be a random dialogue of an NPC and i dont want it to move up and down, is there a way to do that?
Not as it is currently programmed. The plugin isn't made for this purpose.

Regards.
Hello.

Not as it is currently programmed. The plugin isn't made for this purpose.

Regards.
Alright thank you very much, cool plugin
Hello! I am really loving this plugin! I have a few suggestions for potential updates on global parameters if it's alright with you:

1. Global parameter for damage auto popup, especially for damage tiles.

2. Global parameter for popup text colour, if possible 2 different customizable colours for gaining vs losing item

3. Global parameter for option of including a "+" when gaining item.

I think it's much easier if we can also define it globally instead of copy pasting in each event when we want to use the same popup every time.

Thank you very much!
Hello! I am really loving this plugin! I have a few suggestions for potential updates on global parameters if it's alright with you:

1. Global parameter for damage auto popup, especially for damage tiles.

2. Global parameter for popup text colour, if possible 2 different customizable colours for gaining vs losing item

3. Global parameter for option of including a "+" when gaining item.

I think it's much easier if we can also define it globally instead of copy pasting in each event when we want to use the same popup every time.

Thank you very much!
Hello, and thank you for your comments. 👍
I'll keep your suggestions in mind for whenever I have time to mod the plugin.

Regards, 🤘
Sadly, no MV version yet
Can you add a pop-up with no text animation? I want the text to just appear on the player's top for a few fps.
I'm getting this error when using $gamePlayer.startTextPopup() with x and y parameters.

Code:
rmmz_managers.js:2036 TypeError: _0x4083c9.toLowerCase is not a function
    at Sprite_Character.<computed>.createMapIconSprite (TSR_MapPopups.js:690)
    at Sprite_Character.<computed>.<computed> [as startMapPopup] (TSR_MapPopups.js:690)
    at Sprite_Character.<computed>.setupMapPopups (TSR_MapPopups.js:690)
    at Sprite_Character.<computed>.<computed> [as updateMapPopups] (TSR_MapPopups.js:690)
    at Sprite_Character.<computed>.<computed> [as update] (TSR_MapPopups.js:690)
    at Tilemap.update (rmmz_core.js:2332)
    at Sprite.update (rmmz_core.js:1987)
    at Spriteset_Map.Sprite.update (rmmz_core.js:1987)
    at Spriteset_Map.Spriteset_Base.update (rmmz_sprites.js:3158)
    at Spriteset_Map.Spriteset_Base.<computed>.<computed> [as update] (VisuMZ_0_CoreEngine.js:9419)

I think a conflict to Visustella plugins? Removing the x and y parameters will fix the error.
I think a conflict to Visustella plugins? Removing the x and y parameters will fix the error.
Hello. Thank you for reporting.
I can't do much about it, though...

Regards.
Hey I recently found your plugin and it works amazing. I was wondering if it would be possible to implement using variables in your plugin commands. Say I want to randomize a chest, assign the item ID to a variable, then use $gameVariables.value(100); in place of using the actual ItemID#. I'm able to get it in there but it sadly doesn't work.
This is due to wanting to create longer pop up times if you end up with a lot at once. I don't want to set the standard default to high for single item gains though. Alternatively VisuStella has a nice option in their Gab plugin to extend the time based on characters displayed.
These are both different solutions I have to counter having a ton of loot disappear after 60 frames, or 1 loot item staying there past its welcome.
Screenshot 2024-12-13 134314.png
Screenshot 2024-12-13 134556.png
Hey I recently found your plugin and it works amazing. I was wondering if it would be possible to implement using variables in your plugin commands. Say I want to randomize a chest, assign the item ID to a variable, then use $gameVariables.value(100); in place of using the actual ItemID#. I'm able to get it in there but it sadly doesn't work.
Hello and thank you for your comments. I'm not sure I understand exactly what you want to do, but I think you could achieve whatever you need using scriptcalls instead of plugins commands.

In the example bellow, the event will show an item popup with the id defined by the $gamevariable 1 that will stay on screen for 120 frames:​
Capture d’écran, le 2024-12-14 à 13.37.49.png


Refer to the plugin instructions for details on script calls:
Code:
 * SCRIPT CALLS
 * ============
 * Alternatively, those script calls can be used:
 *
 *   **character can be either $gamePlayer or $gameMap._events[eventId]
 *   **to target a specific follower, use: $gamePlayer.followers().follower(index) 
 *
 *     -character.startItemPopup(category, itemId, quantity, color, goldIndex, apEffect, delay, posX, posY)
 *         category: Item category ('Items', 'Weapons' or 'Armors')
 *           itemId: Item Id in the database
 *         quantity: Quantity of the item
 *            color: Text color code
 *        goldIndex: Gold icon index
 *         apEffect: Apply the change to party inventory
 *            delay: The duration of the popup  in frames (see above in POPUPS DURATION)
 *             posX: The X position of the popup (see the POPUPS POSITION section above) 
 *             posY: The Y position of the popup (see the POPUPS POSITION section above)
 *
 *              *For gold popups, use the same call and set itemId to 0, and
 *               set any category.

Hope that help.
Regards.
Hello and thank you for your comments. I'm not sure I understand exactly what you want to do, but I think you could achieve whatever you need using scriptcalls instead of plugins commands.

In the example bellow, the event will show an item popup with the id defined by the $gamevariable 1 that will stay on screen for 120 frames:​
View attachment 325623

Refer to the plugin instructions for details on script calls:
Code:
 * SCRIPT CALLS
 * ============
 * Alternatively, those script calls can be used:
 *
 *   **character can be either $gamePlayer or $gameMap._events[eventId]
 *   **to target a specific follower, use: $gamePlayer.followers().follower(index)
 *
 *     -character.startItemPopup(category, itemId, quantity, color, goldIndex, apEffect, delay, posX, posY)
 *         category: Item category ('Items', 'Weapons' or 'Armors')
 *           itemId: Item Id in the database
 *         quantity: Quantity of the item
 *            color: Text color code
 *        goldIndex: Gold icon index
 *         apEffect: Apply the change to party inventory
 *            delay: The duration of the popup  in frames (see above in POPUPS DURATION)
 *             posX: The X position of the popup (see the POPUPS POSITION section above)
 *             posY: The Y position of the popup (see the POPUPS POSITION section above)
 *
 *              *For gold popups, use the same call and set itemId to 0, and
 *               set any category.

Hope that help.
Regards.
You're 100% right, I dunno how I missed the scriptcalls at 1st. I think that should cover exactly what I want. Thanks for the quick response and the great plugin.
Hey there! I've been using this plugin for a while now and I really love it. Unfortunately the -1 to select "this event" as target doesn't seem to work on events that were spawned from a different map, it keeps defaulting those messages to go on the player instead. Is there a chance you could look into that? I'm specifically using the Copy Events/Dynamic Events found in the official ARPG plugin.

Thank you very much in advance!
@KyluxWolf Hello, thanks for your comments.
I'm not surprised it behave like this. Since you spawn events from a different map, these events don't have an Id on the current map. That's why the plugin doesn't recognize their id and call the popup on the player instead.

I'll need a copy of the spawning event plugin, then I'll see if I can do anything.

Regards!
@KyluxWolf Hello, thanks for your comments.
I'm not surprised it behave like this. Since you spawn events from a different map, these events don't have an Id on the current map. That's why the plugin doesn't recognize their id and call the popup on the player instead.

I'll need a copy of the spawning event plugin, then I'll see if I can do anything.

Regards!
Hm. Thing is, they must at least be assigned a new ID, since I'm able to use other events and scripts to get it or refer to it. But maybe that's being handled in a weird way by the ARPG plugin, wouldn't be the first time lmao


You can download the whole plugin set from here, it should come with a demo project ready to tinker with!
Hello, I would like to add your plugin to my game, but I ran into a problem. None of the control symbols \C[30], \I[0], \PS[0], {} work for me.

Original thread: https://forums.rpgmakerweb.com/threads/tsr_mappopups.133377/