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
> Yanfly Engine Melody- Battle Engine Melody IV problem, An issue seems to occur when I transform my character in battle.
blademage1234
post Jul 21 2011, 09:34 PM
Post #1


Level 1
Group Icon

Group: Member
Posts: 12
Type: Artist
RM Skill: Intermediate




Hi, I've been a member for a long while but have solved most scripting issues by myself or by reading posts that
have been solved before.
I couldn't find this error occurring before...
The issue occurs in the script YEM Battle Engine Melody IV
the part that deals with visual aspects of a battle.
I think there is a conflict with a common event that I have created.
here is the part of the script giving me the issue.
Line 649 of the script return character.origin_x
So it's probably really obvious and easy to fix, but I'm a scripting noob.
I'll explain the scenario in which the conflict occured below.
I transformed my character Attached File  my_transformation_event.jpg ( 100.21K ) Number of downloads: 26

I then entered battle and attempted to transform back into human
this error occured
No Method Error occured
undefined method 'origin'_x' for nil: NilClass
I'm thinking it doesn't like changing the character graphic in the middle of batle but that is extremely important for my game.
If anyone knows how I might be able to fix this or any pointers or help is much appreciated.
Thank You !
Go to the top of the page
 
+Quote Post
   
Zortik
post Jul 21 2011, 09:57 PM
Post #2


Level 10
Group Icon

Group: Revolutionary
Posts: 153
Type: Developer
RM Skill: Beginner




I'm just going to venture a guess here, and I'm sorry in advance if this is a waste of your time. But, I believe you have the returning to human form on the wrong Else line. It should be on the one just below that. Also, uncheck initialize unless you planned it that way. smile.gif

I certainly hope this helps, but I could very easily be wrong.


__________________________
~Zortik

Designer of Classika! A work in progress. Please click the link below to view the topic thread.



Beneath is a wonderful title made by Stern. If you're looking for a superb project to try, please click this link!

An adaption of a novel that LIterarygoth wrote. Loads of custom work and carefully thought out materials.
Go to the top of the page
 
+Quote Post
   
blademage1234
post Jul 24 2011, 01:36 AM
Post #3


Level 1
Group Icon

Group: Member
Posts: 12
Type: Artist
RM Skill: Intermediate




Hey Zortik, thank for the help, but the event worked before I incorporated yanflys engine into my game tongue.gif
I didn't notice the initialize thingo though, so thanks for that tongue.gif I feel sorta stupid not noticing that.
I believe it is part of the script because the debugger says there is a problem with the bit about origin, perhaps because of the way yanflys script sets skills and items to have effects and things most would probably use a skill to transform a party member and not an item like I have, so I'm thinking that perhaps yanflys script is not cooperating with my common evnt because it is attached to an item and not an ability or skill .
Go to the top of the page
 
+Quote Post
   
blademage1234
post Aug 13 2011, 04:58 AM
Post #4


Level 1
Group Icon

Group: Member
Posts: 12
Type: Artist
RM Skill: Intermediate




BUMP!


This post has been edited by blademage1234: Aug 13 2011, 05:01 AM
Go to the top of the page
 
+Quote Post
   
Twilight
post Aug 13 2011, 08:55 AM
Post #5


Real name, Lily White
Group Icon

Group: Revolutionary
Posts: 227
Type: Developer
RM Skill: Advanced




How to Use > http://www.rpgrevolution.com/forums/index....showtopic=42311
Link to Script > http://pastebin.com/3nN4hk8M
Link to Other Scripts> http://rmrk.net/index.php/topic,42396.0.html
Go to the top of the page
 
+Quote Post
   
blademage1234
post Aug 13 2011, 05:42 PM
Post #6


Level 1
Group Icon

Group: Member
Posts: 12
Type: Artist
RM Skill: Intermediate




Hi Twilight, thankyou.
I remember seeing the script before, I had hoped I wouldn't have to use it however it may very well
turn out to be a good idea.
Thank You !

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: 18th June 2013 - 03:39 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker