Nantas

- Game developer -
Veteran
Joined
Jan 7, 2017
Messages
209
Reaction score
140
First Language
French
Primarily Uses
RMMV
Hello everyone !

I am using SRDude's HUD Maker plugin and I wondered how to make a bust appear
only when it's one actor's turn.

This eval is correct and helps me to make appear the first character's bust :
SceneManager._scene._statusWindow.visible ? SceneManager._scene._statusWindow.index() === 0 : true

But I have one character that will not have is position fixed ; I mean that he could be at the 2'nd or third battle position. So I want to refer to his index only. How can I do that ?
 

Nantas

- Game developer -
Veteran
Joined
Jan 7, 2017
Messages
209
Reaction score
140
First Language
French
Primarily Uses
RMMV
Bump !

I need help for this. I have sent an email to SRDude, but he doesn't answer.
The thing is : I would like to make a bust appear only when it's one character turn. I cannot use a plugin because all that I have tried aren't compatible. So I can only use HUD Maker plugin.

There is for each picture a condition eval for the picture to appear.
I want this condition to be : only if character 6 turn.

This condition :
SceneManager._scene._statusWindow.visible ? SceneManager._scene._statusWindow.index() === 0 : true
doesn't work because it refers to a position in battle, but not to an actor.
 

Nantas

- Game developer -
Veteran
Joined
Jan 7, 2017
Messages
209
Reaction score
140
First Language
French
Primarily Uses
RMMV

Nantas

- Game developer -
Veteran
Joined
Jan 7, 2017
Messages
209
Reaction score
140
First Language
French
Primarily Uses
RMMV
Please help me :(
Maybe I am not understanding the evals, but please help me...
 

Virage_Detoldev

Villager
Member
Joined
Jan 6, 2018
Messages
18
Reaction score
7
First Language
Portuguese
Primarily Uses
RMMV
You can use PictureEX for this. Por exemple, on the picture folder, put the pictures of the busts with the same name of the characters, and on the name of the pictureEX use $gameActors.actor(actorId).name() and on the condition, use the SceneManager._scene._statusWindow.visible ? SceneManager._scene._statusWindow.index() === 0 : true. That way, when the turn begin, the image will be the person name and the image will change like you want.

P.S.: I dont know if this topic are "dead", sorry to any moderator if I break any rules by answering after so long.
 

pivoo

Haphazardous Scripter
Member
Joined
Jun 6, 2014
Messages
24
Reaction score
18
First Language
English
Primarily Uses
RMMV
what you probably want is
Code:
BattleManager.actor().id === 1

BattleManager.actor() will return the current actors turn; when selecting an actor.
 

Nantas

- Game developer -
Veteran
Joined
Jan 7, 2017
Messages
209
Reaction score
140
First Language
French
Primarily Uses
RMMV
Thank you very much you too ! I have found the solution ! Thank you !
 

Latest Threads

Latest Profile Posts

Last week I was resting and working mainly on the game!
The current progress of the character.
OxWQ7zO.gif

Pre-programmed character :
-Cleaning
-Magic Book(include blood mode)
-Kettle pot stirring
-Other specimens(flower/bug...etc)
I found a huge spider in my house but it has disappeared and now I'm living in fear and paranoia
It's funny, the only reason I haven't actually released a prototype or demo is not that I don't have one. Hahahahahaha I do, I've had a prototype for months. I'm really just concerned with someone taking it, and putting it up on Steam or something first, then saying it's theirs. I should probably look into setting all that up or something... Then again, I have no ETA on the full game so not sure it's worth it yet.
Pixel Grass Sprites, Questing & Fast Traveling w/ Items, Sci-fi & Distorted Music | RPG Maker News #35

Is it me or while modifying RTP style SV Actor sets to make them taller, the idle animation is the hardest to get right? I think it's because that's the one that you see most so seeing pixels that look wrong make you constantly seek to correct that.

Forum statistics

Threads
111,225
Messages
1,059,397
Members
144,489
Latest member
andreskywalker
Top