Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> event trigger another event
XGuarden
post Mar 14 2011, 12:19 AM
Post #1



Group Icon

Group: Member
Posts: 3
Type: Event Designer
RM Skill: Skilled




I seen on this site, english tread and french tread so I will post in both.

French first:

Bonjour,
Je programme un petit jeu a l'aide de rpg maker vx avec une équipe.
Je suis présentement a la recherche de solution pour les problèmes
les plus fréquemment rencontré lors de la création du jeu. Afin de rendre
le tout lisible, je vais séparer mes questions en sujet.

Sujet 1.
Imaginer un piège caché dans le mur. Si vous passer vis-à-vis, vous
recevez une boule de feu et mourer instantanément. Niveau event,
c'est possible de créer des cases au sol sur chacun des carreau ou
le joueur pourrais tenter de passer. Cependant, c'est lent pour la programmation.
Je cherche plutôt un moyen de faire actionner automatiquement le piège
des que le joueur est sur la même colonne ou rangé.

Présentement, le code fonctionne comme suit:
En marchant sur une case vis-à-vis, ont active l’évènement piège.
Celui-ci lance alors une boule de feu(qui est en fait l'even) et si celui-ci touche
le joueur, il est mort. Pour ne pas être piéger, il faut mettre quelque chose entre
nous et le piège. Un peu comme dans !Adventure of Lolo!.

Étant donnée le grand nombre de réutilisation de ce genre d'objet, j'aimerais
que se soit automatique. Je place l'event piège et tout seul il se déclenche s'il n'y
a rien entre lui et le joueur. Comment faire?

Sujet 2.
Imaginer maintenant une créature qui n'a comme but que de vous piéger et de vous
attaquer. Facile a première vue... Cependant, cette créature ne vous ferra aucun dommage
tant qu'il ne vous aura pas coincé (Que le joueur ne peut se déplacer dans aucun coté ou encore qu'il l'ait poussé après le mur). Comment faire pour que l’évènement ne déclenche une
bataille que s'il a réussit a piéger le joueur?

Sujet 3.
Presque identique au sujet deux et un. En fait, il s'agit d'un monstre qui vous
pousse mais sans vous attaquer. Son but est de nous pousser vis-a-vis d'un
piège décrit au sujet 1. Seul problème.... Quand il pousse le joueur vis-a-vis
du piège, rien ne se produit. L’évènement piège n'est pas déclencher. Comment
faire pour qu'un piège en déclenche un autre? Dans la même ordre d'idée, un personnage
tombe dans un trou a l'étage inférieur. Cependant, a l'étage inférieur il y avait justement
un autre trou au même endroit. Il doit donc encore tomber d'un étage. Cependant,
l’évènement "évent touch" et "playeur touch" n’ont aucun effet et le joueur reste
bêtement sur un trou sans tomber.

Sujet 4.
Mon joueur ramasse un objet. Avez cette objet, il n'a qu'a appuyer sur une touche
pour lancer une balle. Cette balle si elle atteint un monstre, la congelé. Une fois congeler
un monstre devient une boule et peu être poussé. Cependant, il décongelé après un certain
temps. Vous aurez compris que j'essais de reproduire les possibilité du jeu "Adventure of Lolo".

Merci de votre aide.



English:
If a event push my player on another event, how trigger this event.
How triger a event by player position(player in same row).
How make black section like dragon warrior 3. When you are outside a house, you dont see the inside
and when you are inside the outside appear black. But without teleportation.


thanks.
Go to the top of the page
 
+Quote Post
   
RzrBladeMontage
post Mar 14 2011, 05:52 PM
Post #2


"Hey.. would you say... I became a Hero?" - Zack Fair
Group Icon

Group: Revolutionary
Posts: 773
Type: Event Designer
RM Skill: Advanced




I'm sorry, but is this a submission or a question? We need a little more information to either understand what your submission does or help you with your problem. Also, please try to keep your posts in english only, as a majority of the community here speaks english.


__________________________





Go to the top of the page
 
+Quote Post
   
XGuarden
post Mar 15 2011, 12:32 AM
Post #3



Group Icon

Group: Member
Posts: 3
Type: Event Designer
RM Skill: Skilled




Ok perfect. In fact I see a french publicity for your site and when I come on your site, it's englsih. So I get a little confuse. I will post in english here then =:0)

I think, I must ask my question one by one.

My first question: How get the curent possition of the player and stock it on variable. thanks.


QUOTE (RzrBladeMontage @ Mar 14 2011, 08:52 PM) *
I'm sorry, but is this a submission or a question? We need a little more information to either understand what your submission does or help you with your problem. Also, please try to keep your posts in english only, as a majority of the community here speaks english.

Go to the top of the page
 
+Quote Post
   
stripe103
post Mar 15 2011, 09:26 AM
Post #4


PHP ERROR: Couldn't get value from UInteger. Value too large
Group Icon

Group: Revolutionary
Posts: 737
Type: Mapper
RM Skill: Intermediate




In the "Control Variables..." button there is a radio button which says "Character". Click that to operate the two dropdown boxes and it should be set to "Player" and "Map X". In this setting, it will get the player's X position on the map.

If you drop down the left box, you will see all events that there is on the current map. This way, you can change what event you want to get the value from.
On the right drop down box, you can also change to get the Y position on the map, the direction or where on the screen the player is.

Of course, you need to change what variable you want to store the value in and if you want to add the value or what you want to do with it.

This post has been edited by stripe103: Mar 15 2011, 09:27 AM


__________________________

By Axerax

The rest of my sig



Go to the top of the page
 
+Quote Post
   
XGuarden
post Mar 15 2011, 10:04 AM
Post #5



Group Icon

Group: Member
Posts: 3
Type: Event Designer
RM Skill: Skilled




Second question. A monster on the map is programed for push me anywhere.
But when he push me on a trap nothing happen. How trigger an event by another events?



QUOTE (stripe103 @ Mar 15 2011, 12:26 PM) *
In the "Control Variables..." button there is a radio button which says "Character". Click that to operate the two dropdown boxes and it should be set to "Player" and "Map X". In this setting, it will get the player's X position on the map.

If you drop down the left box, you will see all events that there is on the current map. This way, you can change what event you want to get the value from.
On the right drop down box, you can also change to get the Y position on the map, the direction or where on the screen the player is.

Of course, you need to change what variable you want to store the value in and if you want to add the value or what you want to do with it.

Go to the top of the page
 
+Quote Post
   
stripe103
post Mar 15 2011, 12:05 PM
Post #6


PHP ERROR: Couldn't get value from UInteger. Value too large
Group Icon

Group: Revolutionary
Posts: 737
Type: Mapper
RM Skill: Intermediate




There is two ways of doing this.

1. You can try out the trigger called "Event touch" which should be triggered whenever the event which has that trigger is above or on the side of another event.

2. If the above don't work, you can use variables by always keeping track of where the two events(or if you are using the player) are and then check if one of the events is above the other.

This post has been edited by stripe103: Mar 15 2011, 12:07 PM


__________________________

By Axerax

The rest of my sig



Go to the top of the page
 
+Quote Post
   
Alt_Jack
post Mar 15 2011, 01:08 PM
Post #7


Level 19
Group Icon

Group: Revolutionary
Posts: 377
Type: Event Designer
RM Skill: Skilled
Rev Points: 40




French
QUOTE (XGuarden @ Mar 14 2011, 12:19 AM) *
I seen on this site, english tread and french tread so I will post in both.

French first:

Bonjour,
Je programme un petit jeu a l'aide de rpg maker vx avec une équipe.
Je suis présentement a la recherche de solution pour les problèmes
les plus fréquemment rencontré lors de la création du jeu. Afin de rendre
le tout lisible, je vais séparer mes questions en sujet.

Sujet 1.
Imaginer un piège caché dans le mur. Si vous passer vis-à-vis, vous
recevez une boule de feu et mourer instantanément. Niveau event,
c'est possible de créer des cases au sol sur chacun des carreau ou
le joueur pourrais tenter de passer. Cependant, c'est lent pour la programmation.
Je cherche plutôt un moyen de faire actionner automatiquement le piège
des que le joueur est sur la même colonne ou rangé.

Présentement, le code fonctionne comme suit:
En marchant sur une case vis-à-vis, ont active l’évènement piège.
Celui-ci lance alors une boule de feu(qui est en fait l'even) et si celui-ci touche
le joueur, il est mort. Pour ne pas être piéger, il faut mettre quelque chose entre
nous et le piège. Un peu comme dans !Adventure of Lolo!.

Étant donnée le grand nombre de réutilisation de ce genre d'objet, j'aimerais
que se soit automatique. Je place l'event piège et tout seul il se déclenche s'il n'y
a rien entre lui et le joueur. Comment faire?

Sujet 2.
Imaginer maintenant une créature qui n'a comme but que de vous piéger et de vous
attaquer. Facile a première vue... Cependant, cette créature ne vous ferra aucun dommage
tant qu'il ne vous aura pas coincé (Que le joueur ne peut se déplacer dans aucun coté ou encore qu'il l'ait poussé après le mur). Comment faire pour que l’évènement ne déclenche une
bataille que s'il a réussit a piéger le joueur?

Sujet 3.
Presque identique au sujet deux et un. En fait, il s'agit d'un monstre qui vous
pousse mais sans vous attaquer. Son but est de nous pousser vis-a-vis d'un
piège décrit au sujet 1. Seul problème.... Quand il pousse le joueur vis-a-vis
du piège, rien ne se produit. L’évènement piège n'est pas déclencher. Comment
faire pour qu'un piège en déclenche un autre? Dans la même ordre d'idée, un personnage
tombe dans un trou a l'étage inférieur. Cependant, a l'étage inférieur il y avait justement
un autre trou au même endroit. Il doit donc encore tomber d'un étage. Cependant,
l’évènement "évent touch" et "playeur touch" n’ont aucun effet et le joueur reste
bêtement sur un trou sans tomber.

Sujet 4.
Mon joueur ramasse un objet. Avez cette objet, il n'a qu'a appuyer sur une touche
pour lancer une balle. Cette balle si elle atteint un monstre, la congelé. Une fois congeler
un monstre devient une boule et peu être poussé. Cependant, il décongelé après un certain
temps. Vous aurez compris que j'essais de reproduire les possibilité du jeu "Adventure of Lolo".

Merci de votre aide.

It says (roughly, since my french is a bit rusty and I had to cross-check with Google):
my terrible french

Hi
I'm programming a little game with the help of rpg maker VX with a team (?).
I'm looking for a solution to these very frequent problems with the creation of the game. To make it easier to read, I'll seperate my questions by subject:

Topic 1.
Imagine a trap hidden in the wall. If you move towards it, you
receive a fireball and died instantly. Is it possible to create cells on each floor tile or the player could try to pass. However, it is slow for programming.
I seek instead a means to automatically activate the trap when the player is on the same column or tile.

Currently, the code works as follows:
Walking on a space towards it, you activate a trap event.
This launches a fireball (which is actually the event) and if it touches
the player he is dead. To avoid being trapped, there must be something between
us and the trap. A bit like "Adventure of Lolo!.

Given the large number of reuse of such objects, I'd like it to be automatic (fire). I set the trap event and it fires alone if there is nothing between him and the player. How?

Topic 2.
Now imagine a creature that has as purpose to trick you and you
attack. Easy at first sight ... However, this creature you showed no damage
as it does you will not get stuck (What the player can move in any side or after he has pushed the wall). How do I make the event trigger a battle if he succeeds in trapping the player?

Topic 3.
Almost identical to two and one. In fact, it is a monster that you
shoot, but does not attack you. His goal is to push you towards a
trap described in topic 1. Only 1 problem .... When he pushes the player towards
the trap, nothing happens. The event trap is not triggered. How do I get it
to trigger another trap? In the same vein, a character
falls into a hole downstairs. However, on the lower floor there was just
another hole in one place. He still has to fall off the stage. However,
the events "event touch" and "player touch" have no effect and the player remains
stupidly on a hole without falling.

Topic 4.
My player picks up an object. With this object, it needs only to press a button
to throw a ball. This ball, if it hits a monster, will freeze it. Once frozen,
a monster becomes a little ball and be pushed. However, it thaws after a certain amount of time. Understand that I'm trying to reproduce some of the game "Adventure of Lolo."

Thank you for your help.


Des advertisement tu voire est dependant a ton langue prefere' ; pour moi, c'est dans anglais, par ce que je parle anglais plus.
Desole. Mon francais est tres terribles. sweat.gif

This post has been edited by Alt_Jack: Mar 15 2011, 01:21 PM


__________________________

the Alternate Jacks event demo
As well as all of my images in one place, free for use.
Most of my images will be there, since this site takes too long to approve stuff and VX.net has no bulk uploader.
Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 24th May 2013 - 10:29 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker