In need of help for a Character to appear

Kikanai

Villager
Member
Joined
Sep 11, 2018
Messages
8
Reaction score
0
First Language
German
Primarily Uses
RMVXA
So I'm creating a "Cheat Device" as an item to use (via "Common Events"). I want to have a fairy appear in front of the hero, when the player chooses to use it. But I don't know how to do this. Is this even possible? Would I need a script? Please help.

...Also I'm sorry if this was asked before or if this is a silly question. I'm new to all this stuff...

Thanks!
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
2,660
Reaction score
563
First Language
English
Primarily Uses
RMVXA
A similar question was asked in the MV forums on this site. (Google search)
You would need to have an event on each map with 2 pages, 1st page would be blank, 2nd page with the fairy and a switch activating it.
When you use the item, call the common event. in the common event turn on the switch. Set the position of the sprite to just above the player.
That would be the only way. I have not heard of a script that could make events.
 

Kikanai

Villager
Member
Joined
Sep 11, 2018
Messages
8
Reaction score
0
First Language
German
Primarily Uses
RMVXA
Set the position of the sprite to just above the player.

But if I set the position directly on the map, the fairy will only spawn on this single tile, not next to whereever the hero is. So I guess this isn't possible. Well, no fairy it is then.

Anyway thank you for your quick answer!!
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
2,660
Reaction score
563
First Language
English
Primarily Uses
RMVXA
@Kikanai you can set the position by finding the player x & y then just subtracting 1 from the y to place the fairy with a set event location command
 

Kikanai

Villager
Member
Joined
Sep 11, 2018
Messages
8
Reaction score
0
First Language
German
Primarily Uses
RMVXA
Really? How does this work? Could you tell me step by step, please?
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,355
Reaction score
7,669
First Language
German
Primarily Uses
RMMV
You use two variables (control variable command, select game data and change from map ID to player x and player y) to get the player position, then a third control variable command to change the coordinate do a position Nest to the player, then use set event location with those two variables for coordinates.

I suggest you follow the link "starting point" in my signature to the variables guide if you don't know how to use variables.
 

Kikanai

Villager
Member
Joined
Sep 11, 2018
Messages
8
Reaction score
0
First Language
German
Primarily Uses
RMVXA
Thank you! I'll check out "Celiannas Variables Guide" you linked in your starting point signature!

And probably most of the other stuff as well...
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,853
Messages
1,016,986
Members
137,561
Latest member
visploo100
Top