RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Need help at "trapping"

0 Members and 1 Guest are viewing this topic.

**
Rep:
Level 88
Well I'm working on my game , and I'm trying to do this:
There is an event , name: Trap. (You can walk on this event )
there is another event , name: Rabbit ( this event moves randomly)
And there is another event , name: Bear( this event moves randomly)


Now , what I want to do is:
That when the rabbit , go on the trap , it gone , and leaves an item or so.
same with the bear , but I want that i can "tell" the trap when I want to catch
a bear or a rabbit.

Kruler.

****
Rep:
Level 88
I'm back :P
switches, look in the tutorial database, or click zeriabs siggy to go to one

*
Rep:
Level 89
2012 Best RPG Maker User (Story)Project of the Month winner for May 2007Project of the Month winner for July 20082011 Best RPG Maker User (Story)2011 Project of the Year2011 Best RPG Maker User (Creativity)
Zomg I did this a while ago, and the minigame itself was apparently so hard some people stopped playing cause of it.  :'(

With events:

Make 2 variables named obj X and obj Y

Make 2 variables named Destination X and Destination Y


Make a parallel process event, set objX and ObjY to the object's x and y location (available in the variables panel).

Set dest. X & Y to the destination's X and Y values.

Conditional branch; if objx = dest.x; then if objy = dest.y, [stuff happens].


*
? ? ? ? ? ? ? ? ? The nice kind of alien~
Rep:
Level 92
Martian - Occasionally kind
My siggy is mentioned...
Just posting so you don't have to search  :P

**
Rep:
Level 88
Thanks guys ,
I have another question ,
I tried using variables , switches and CB's , but I could'nt do this:
an event that only if the hero is level X and uppear ( X presents a number of course)
that he can go on it ( the event )

**
Rep:
Level 88
Thanks guys ,
I have another question ,
I tried using variables , switches and CB's , but I could'nt do this:
an event that only if the hero is level X and uppear ( X presents a number of course)
that he can go on it ( the event )

So you want an event that only starts if the actor is at a certain level, right? Well, if this is what your asking this is how to do it:

1.) Create a new Variable under "Variable Operation" (My Variable is called Actor1:Level)

2.) Set the Value of the Variable to equal the value of the Actors level, do this by Selecting "Hero" option and selecting "Level" in the drop down box. This says that every time the event is triggered (ie. stepped on) the Variable Actor1:Level will set the value to the level of the actor chosen.

3.) Create an If Statement, select the "Variable" option and choose the name of your variable, set the value that the variable has to be for the event to begin. For example, say you can only;y enter a certain area if you are level 5 or over, so set the Constant to 5 and then ">=" which tells the event to do whatever is in the If branch only if "Actor1:Level" is Greater Than or Equal to 5.

4.) Press Ok, and put whatever you want to happen afterwards inside the If branch.

Syn.

**
Rep:
Level 88
Thanks , you helped me alot
=)