Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

> Rm2003 help. Stop screen flash when poisoned, In the field walking around. I can work out how to stop the flashing
Hex420
post Sep 13 2012, 03:06 PM
Post #1



Group Icon

Group: Member
Posts: 4
Type: Musician
RM Skill: Intermediate




Its a condition ive created which drains HP while walking around ( just like a poison) but i dont want the screen to flash when HP is lost

Im using rm2003

Any solutions?

Thanks in advance
Go to the top of the page
 
+Quote Post
   
 
Start new topic
Replies
Kazesui
post Sep 15 2012, 11:28 AM
Post #2


Level 9
Group Icon

Group: Revolutionary
Posts: 141
Type: Event Designer
RM Skill: Advanced




Probably possible... but it would require real programming knowledge well beyond novice level.
So unless there's some magic box I haven't seen in the editor yet, consider it practically impossible.

As far as I'm concerned, I think the easiest solution would be the evented one as described above, where you store the current x coordinate in one variable, and an old x coordinate in another. You'll have a branch check if the current x coordinate is unequal to the old one, and if it is, you set the old x coordinate to the value of the current one, and do damage to the hero manually if he is afflicated with the condition (you'll need a branch for each hero for this).
You make an identical branch but with y coordinate variables instead to account for all 4 moveable directions.

This prevents the damage from happening unless you're moving, and if you don't want the damage to happen at each step taken, you can add another branch in there which checks if some counter variable has reached a certain value, at which point, you check if any of the heroes are afflicted with the condition and reset the counter variable.

This might sound complicated, but it really isn't all that bad.
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: 25th May 2013 - 08:50 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker