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
> Need help or pointers how to effectively use the variables and/or switches
altimitt
post Dec 14 2011, 11:55 AM
Post #1


Level 1
Group Icon

Group: Member
Posts: 5
Type: None
RM Skill: Beginner




I wanted to make an item the when used, it would grant the character a skill, provided he has achieved the
appropriate level for learning that skill. But I got stumped and I don't know what to do. I went to the
conditional branch of things but I can't figure out how to make it work. And somehow I consumed the item
but it doesn't grant the desired skill. Please help me.
Attached File(s)
Attached File  untitled.JPG ( 28.27K ) Number of downloads: 7
 
Go to the top of the page
 
+Quote Post
   
Kread-EX
post Dec 14 2011, 12:03 PM
Post #2


(=___=)/
Group Icon

Group: +Gold Member
Posts: 4,136
Type: Scripter
RM Skill: Undisclosed




Your screen is rather strange as it the normal version of VX, it displays "Constant" instead of "#". Anyways, this is used to check if a variable as is equal, lesser than or greater than a finite number. If you want to use it to check the level or the character, you need to set this variable to the character level first (with the "Control Variables" command).


__________________________
FRACTURE - a SMT inspired game (demo) made by Rhyme, Karsuman and me. Weep and ragequit.

My blog.

Click here for my e-peen


Go to the top of the page
 
+Quote Post
   
altimitt
post Dec 14 2011, 12:13 PM
Post #3


Level 1
Group Icon

Group: Member
Posts: 5
Type: None
RM Skill: Beginner




Thanks for the quick reply. This is what I've been doing to the Common events page.
It'd be a great help to me if someone would help me. please point out if there something
wrong with my script as I'm a complete noob. Thanks in advance.

So like, basically, I want to have an item to grant a character a certain skill on a certain level (and consumed in the process).
And when that character did not meet the required level, the item is not consumed. I just need a point in the right direction.
Thanks in advance.
Attached File(s)
Attached File  untitled.JPG ( 39.84K ) Number of downloads: 5
 
Go to the top of the page
 
+Quote Post
   
Kread-EX
post Dec 14 2011, 12:38 PM
Post #4


(=___=)/
Group Icon

Group: +Gold Member
Posts: 4,136
Type: Scripter
RM Skill: Undisclosed




Please avoid posting twice in a row (I've merged your posts).

As for your event, it's almost good. You just need to stick everything out of the first conditional branch (which is useless).
Also, there is a bug in the default scripts which kicks in when you try to assign an actor level to variables. Read this post for explanations on how to fix it.


__________________________
FRACTURE - a SMT inspired game (demo) made by Rhyme, Karsuman and me. Weep and ragequit.

My blog.

Click here for my e-peen


Go to the top of the page
 
+Quote Post
   
altimitt
post Dec 14 2011, 12:43 PM
Post #5


Level 1
Group Icon

Group: Member
Posts: 5
Type: None
RM Skill: Beginner




Thanks for the quick reply and sorry for the double post. I'll go over it. I'm gonna post again if I encounter
some problems in the future. Thanks again!
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: 19th May 2013 - 05:19 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker