Take acion for specifed event by its name

LynX

Veteran
Veteran
Joined
Jan 6, 2014
Messages
81
Reaction score
8
First Language
Polish
Primarily Uses
Hi there all ! :) I was hoping You will help me with my one problem...
Is there any way of selecting action for event (move route, teleport) for event by it's name ? 
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,712
First Language
English
Primarily Uses
RMVXA
You select it from the drop down menu by its ID number when you e.g. choose set move route.  It doesn't matter what you call the event (in the name box, top left of the event), the engine goes by number ID, which you can see just above that, right at the top.

It helps to give names to events so that you can identify them more easily, but that's the only function names have.  

As for teleport, only players can teleport, events can't, so could you be a bit more explicit about what you want with that.
 

Sarlecc

Veteran
Veteran
Joined
Sep 16, 2012
Messages
453
Reaction score
211
First Language
English
Primarily Uses
RMMV
Technically you could do it by name but the method would be (a lot) more complicated then what Ksjp said and would require a script.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,355
Reaction score
7,668
First Language
German
Primarily Uses
RMMV
If you even think of identifying an event by its name instead of its number, then most probably you either misunderstood how the computer works, or you try to follow different events on different maps.


Sorry, if you want a common event to do the same with an event on different maps, you have to make sure that that event has the same ID on all maps.


However, that can be achieved even later by simply selecting an ID and then either delete the event with that ID on the other maps (after copying the previous content to a new ID) it that ID is already used, or adding events until the ID appear (for maps with less events).


Everything else is a lot more complicated (as Sarlecc already said).
 

LynX

Veteran
Veteran
Joined
Jan 6, 2014
Messages
81
Reaction score
8
First Language
Polish
Primarily Uses
Yeah im trying to spawn event then move it to the near hero location ;)  
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,355
Reaction score
7,668
First Language
German
Primarily Uses
RMMV
If you spawn an event, you usually have its datastructure in the script command that you use to spawn it, and that data structure includes the ID it gets upon spawn.


You might have to go around a bit tricky to get it, but since you also need to use the data structure in the script command to move that event, that should not add too much problems to that.
 

LynX

Veteran
Veteran
Joined
Jan 6, 2014
Messages
81
Reaction score
8
First Language
Polish
Primarily Uses
ok Im gonna try my best :)
 

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