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,402
Reaction score
499
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,402
Reaction score
499
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
30,400
Reaction score
7,222
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

Finally did a test of sorts for the opening of my game... ... including this shot here.
My current status!?
It might be... QUAKE!!! :o
At least that was true several hours ago. :p
Quexp wrote on Shaz's profile.
I absolutely love your profile/pic! :kaoluv:
Stream will be live shortly with some Darkest Dungeon! Feel free to drop by!
I made a battle results screen for my minigame.. any feedback? :)

Forum statistics

Threads
100,685
Messages
978,408
Members
132,310
Latest member
hnhat
Top