The RPG Maker Resource Kit

RMRK RPG Maker Creation => Requests => Script Request => Topic started by: hikick10 on August 02, 2010, 08:49:09 PM

Title: [Solved] Encounter Repellant Item
Post by: hikick10 on August 02, 2010, 08:49:09 PM
Anyone know how to make a consumable item that repels random encounters like that of most poke'mon games.
Title: Re: Encounter Repellant Item
Post by: cozziekuns on August 02, 2010, 09:22:29 PM
http://rmrk.net/index.php/topic,38387.0.html (http://rmrk.net/index.php/topic,38387.0.html)

It's a script, btw.
Title: Re: Encounter Repellant Item
Post by: hikick10 on August 03, 2010, 06:03:11 PM
Could I use this script to be a temporary repel item?
If so do I paste : UEP_CONTROL_VARIABLE_ID in the notes box?
But then how would I make it last x number of steps?

I don't fully understand.
Title: Re: Encounter Repellant Item
Post by: cozziekuns on August 03, 2010, 06:10:22 PM
Just make the item trigger a switch, which triggers a common event that tracks the amount of steps in one variable, then see if that variable reaches that variable + x. Once that's over, you can just turn the switch back off. Figure out the rest.
Title: Re: Encounter Repellant Item
Post by: DarkGamer on August 03, 2010, 06:54:51 PM
Do an item linked with a common event...
Title: Re: Encounter Repellant Item
Post by: hikick10 on August 03, 2010, 07:04:54 PM
I used a common event with a timer. When the timer runs out, the switch for the item turns off. How ever, when I attempt to use the item on the actor it makes that buzzing noise. Do I need to attach a hp + or something?
Title: Re: Encounter Repellant Item
Post by: cozziekuns on August 03, 2010, 07:40:44 PM
No, just change the scope of the item.
Title: Re: Encounter Repellant Item
Post by: hikick10 on August 03, 2010, 07:49:40 PM
It works perfectly!  :D thnks cozzie and others.