Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Text in selfvars?

A topic by fizzlymike created 51 days ago Views: 97 Replies: 16
Viewing posts 1 to 3

Hello Eli! I have a question: does your self variables can store text? I have some trouble with this and I'm trying to figure out why it's not working as I want to. 

Developer

Hi there!

I need more information. How are you putting the text on the self variables? And where are you trying to use the escape code to show that text?

(2 edits)

I'm using plugin command and put "$gameActors.actor(2).name()"  as value to get name from Actor 2 (which is how player can name a chest box). The escape code is supposed to show over event as a name, which works quite well for default (not self) variables. But tried to show the value in message window, too, but still no luck - the self variable always show 0.  Oh, and what's probably matter: it's for spawned events. Not the one that's on the map from the beginnning.

Developer

It is always better if you show screenshot of what are you doing instead of just saying...

1 - Now, that plugin command you mentioned, it is from my Self Variable plugin?

2 - Did you try to use the escape code for self variables in a show text command on a default event to see if it works? That is important because we can compare using it on regular events and the spawned events. If it works on normal events, then probably is a thing with the spawn event plugin.

3 - What spawn event plugin you are using?

(1 edit)

Hello! 

1. Yes, it's your Self Variable plugin:


2. Tried it, also didn't work. Both "over event" and in message using escape code. Like it display "0" instead of string, too. (this allowed me to conclude that selfswitch does not store text values, but maybe I am wrong)

3. For spawning I'm using DSI-Event Spawner.

Developer

Sorry! Seems that I miss that. 

I will take a look just to be sure, but on your screenshot I see that you are using the default escape code for the default variables. The Self Variable escape code is \SV[ID]

(1 edit)

Yeah, you're right, but even with \SV[X] it still shows "0".  

Developer(+1)

Hi there!

i confirmed the problem. I will take a look to fix that. But for now, you can use the default variable command, that if the Variable is a Self Variable, it will be applied to the self variable:

Will check this out later today and let you know, thank you so much!

(2 edits)

The workarout solution also doesn't work for me, still shows "0" instead of Actor's name. 

Developer(+1)

hmm... strange. That definitelly works for me.

  1. Did you name the variable with "SV:" ?
  2. Are you using MZ?
  3. It does not work on the message window or in your event label?
(3 edits)

Oh, good clues. It does not work with the event labels... I message it works just fine. Looks like it's the event label plugin bug thing? (I'm using MZ and used "SV:" in names)

Developer

Hi friend!

Please download the new version of the Escape Codes plugin(3.2.1) and the new one from the Self Variable plugin(2.2.0). Both updates will fix your problem regarding using formulas on the plugin command. Now for your event label, as I said before, I would need to take a look into the code to see how they implemented it and check for a compatibility fix.

(3 edits)

Hello! Thank you for your fixes. Using this for text above events: https://sanghendrix.itch.io/easy-text-icon-on-events-rpg-maker-mz-plugin

Still have no idea how can I display my self variables above the events T_T Eli, maybe you could write a simple plugin that can display text above events, including your escape codes and self variable codes? That would be perfect... (I'm just so tired of this). 

Developer(+1)

Well this plugin is paid, so I can't take a look into the code.

But there are several other plugins around that can make any text above events. Maybe you can try them.

I do plan on doind that kind of plugin, for a long time ago haha. Don't know when I will do it then. But I let you know if I did. For now, I guesss you either need to change the way you want to show the text above the event:

1 - Not using self variables

2 - Using another self variable plugin that is compatible with sang hendrix

3 - Using another event label/text plugin that is compatible with my self vfariables

(2 edits)

Yeah I really need it to be compatible with self variables, so only 2 and 3 is an option.

Can you recommend something? Honestly, I haven't seen many plugins that do this. 

Actually, only the one from Visustella worked properly for me, but it conflicts with other plugins, so I don't use theirs.

Would keep an eye on your plugins, maybe one day I'll find the "text above events"... :)