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
Regular
Joined
May 22, 2016
Messages
5,224
Reaction score
1,557
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
Regular
Joined
May 22, 2016
Messages
5,224
Reaction score
1,557
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

Regular
Regular
Joined
Mar 5, 2013
Messages
39,885
Reaction score
11,842
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...
 

Latest Threads

Latest Posts

Latest Profile Posts

Curiosity kills cats. Not people. Remain ever curious!
"You dont have to negotiate if they dont have a hostage" :kaopride:
sketch1701194888871.png
Spiffing up maps is actually a lot of fun.
So the concept for my Game Jam project is way more than I can complete before the deadline. But I think I found a way to get the core done and make the incomplete parts either not really noticeable or make them a part of the story for now. That sneaky, dastardly Krampus! Then I can complete the rest. Did I mention that this is fun?

Forum statistics

Threads
136,551
Messages
1,267,446
Members
180,225
Latest member
Stormswinds
Top