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
4,823
Reaction score
1,372
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
4,823
Reaction score
1,372
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
38,439
Reaction score
10,871
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

ialfabeiufbgaeyiufgouigfeuagfiebauofvuafuvaufvuiavetgfvgfeiuyfvafuaguydg.
Happy Pride Month! I actually have a game character named Lazura Landerson who is a lesbian, and she's a Cosmic Magi who works on a starship. She's dating another Cosmic Magi named Ciara Kendren, and the two plan to marry someday. As for me, I'm straight... but you're free to choose who you want to be.
Had a dream about ending the project. I think I need a bit of a break, or to keep dev stuff lighter. And not take it super seriously. Don't think its normal to have nightmares over game stuff.
I don't wanna go to work. I want to go back to bed.
A Littlefish classic. I forgot to eat dinner and now I'm wondering how to turn the entire contents of my fridge into an abominable yet strangely satisfying breakfast.

Forum statistics

Threads
131,591
Messages
1,221,360
Members
173,299
Latest member
Bittercup_
Top