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
> Flips Actor Equip Restriction v1.1, Allows you to restrict certain actors from an equiptype the equipments
FlipelyFlip
post Jun 27 2012, 10:20 PM
Post #1


Level 2
Group Icon

Group: Member
Posts: 19
Type: Writer
RM Skill: Skilled




Heyey,

I'm posting this script, after searching for this but not finding a script which do this (:

What does this script do?
Allows you to forbid for certain actors from an equiptype a weapon or an armor.
I know I could create a new equiptype, but why should I do it, if it's only for 1 weapon
per actor or 1 armor per actor? It's easier and faster to do it with this script biggrin.gif

How to use?

Write in the notetag of a weapon or armor:

<restrict_actor: x>

or

<restrict_actor: x,x>

As an example:
if you want that the weapon with the ID 1 won't be available for the actor with
the ID 5 then do this: <restrict_actor: 5>
if actor 5, 7, 10 and 12 shouldn't be able to use the weapon then set it up like
this: <restrict_actor: 5,7,10,12>
I hope you understand what I mean (:


Where is the script?
Here we go:

Pastebin Link

Version History

v1.1
- fixed a huge bug, which would cause an error if the actor has some equipments
equiped from beginning.

v1.0
- Got this Script to work biggrin.gif
- Allows to restrict certain actors certain weapons from their equipment type

Terms of Use

Feel free to use it.
If you want to use it in commercial games, then also ask MephistoX if it is possible to use his ReadNote Script (without that script, mine wouldn't work)

Credits
FlipelyFlip for the Actor Equip Restriction
MephistoX for the ReadNotetag script.

~Flip

This post has been edited by FlipelyFlip: Jul 5 2012, 02:25 AM
Go to the top of the page
 
+Quote Post
   
FlipelyFlip
post Jul 5 2012, 02:25 AM
Post #2


Level 2
Group Icon

Group: Member
Posts: 19
Type: Writer
RM Skill: Skilled




Heyey,

little update I made with this script.
I fixed a huge bug, which would cause an error if the actor has some equipments.
Should work now perfectly.

~Flipy (:
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: 23rd May 2013 - 05:22 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker