Charas-Project

  • Home
  • Help
  • Search
  • Calendar
  • Login
  • Register
*
Please login or register.

Login with username, password and session length
 

News:

Click here to join us on IRC (#charas on irc.freenode.net)!



  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • Switch problem the sequel!
« previous next »
  • Print
Pages: [1]

Author Topic: Switch problem the sequel!  (Read 1745 times)

Offline elementalhero76

  • Your Ad here!
  • Zealot
  • *
  • Posts: 612
  • The Writer of Light
    • Official Esgardum Wiki (locked)
Switch problem the sequel!
« on: December 15, 2006, 03:54:18 AM »
my problem is with those crystal switches like in zelda games where they raise and lower blocks. It seems to work better with opposite switches but I got it to work with one many times but now it doesn't work after one cycle from blue to red and then just makes the red go up and down.

heres what I did:

Four events for the block graphics red and blue (two pieces of ecah block)

two switches red to blue and blue to red on/off toggle

events set at same as hero layer when blocks are up.

three pages for the blocks

four for the switches

the pages of the blue blocks (both pieces):

page one: block graphic and blank page
Page two: block graphic w/ conditions says switch [0547 red to blue is on] block stays up  
Page three: block is in floor graphic w/ conditions says switch [0548 blue to red is on] block lowers in floor (layer below hero)

Red blocks I just reverse the switches and change the graphic to red. These will loop now.

This is not the problem, the problem is my switch that raises and lowers the blocks.

The crystal switch:

Four pages
Layer: same layer as hero on all four
trigger: acton key pressed

Page one has the red crystal graphic
Condition: none
battle graphic blinding flash occurs
and [0547 red to blue] (red blocks go down) activates
then it goes to page 2

Page two has blue crystal and is my loop start page.
Condition: [0547 red to blue is on]
Page is blank

Page three is same in conditions as page two but has
battle graphic blinding flash occurs
and [0548 blue to red] (blue blocks go down) activates
in the text page which on switch 0548 activation brings us to page four

Page four has red crystal again
Condition: [0548 blue to red] is on
battle graphic blinding flash occurs
and [0547 red to blue] (red blocks go down) activates
and is supposed to loop to page 2 then 3.

Now I didn't miss anything here that is in the events and when I test this the red block only rises and falls (coincindentially the crystal stays red) after it loops once according to the switches and their on/off toggle nature. What I ask is going on here?
Logged
Retired RM2k3 user. Using VS2015 Pro.
Discord:LightWriterOfLegend2016#5786

Esgardum Legends wiki:
Dead. Need to pay $100/yr to stay open and editable. Debating if I want to or not.

Esgardum Series status:
RPG: World building and planning stage
Books: Still on book 1: The Four Sinners

Offline Meiscool-2

  • Sage
  • *
  • Posts: 7,030
  • If you support n00bs, you support communism.
(No subject)
« Reply #1 on: December 15, 2006, 09:12:45 PM »
No offence, but it's really hard to understand what you're saying.

People say I'm a good coder, so I guess that makes me a good coder. I can try to help you, but you'll have revise your text.
Logged
Most Recent:

________________________
Old Stuff:

Offline Daetyrnis

  • Zealot
  • *
  • Posts: 616
    • Organization 13½
(No subject)
« Reply #2 on: December 15, 2006, 09:30:31 PM »
If you print screen your event codings, your problem would be easier to understand.

Anyways, it seems that you've made it harder than it needs to be.

Orb Event:
Page 1
Conditions: none
Initiation: Action Key
Graphic: Blue Orb
Layer: Same as Hero
Script:
Play battle animation: Blinding Flash
Toggle switch [XXXX: RedBlueToggle] ON/OFF
Page 2
Conditions: Switch [XXXX: RedBlueToggle] is ON
Initiation: Action Key
Graphic: Red Orb
Layer: Same as Hero
Script:
Play battle animation: Blinding Flash
Toggle switch [XXXX: RedBlueToggle] ON/OFF

Red Block:
Page 1
Conditions: none
Initiation: none
Graphic: Raised Red Block
Layer: Same as Hero
Script:
none
Page 2
Conditions: Switch [XXXX: RedBlueToggle] is ON
Initiation: none
Graphic: Lower Red Block
Layer: Below Hero
Script:
none


Blue Block:
Page 1
Conditions: none
Initiation: none
Graphic: Lower Blue Block
Layer: Below Hero
Script:
none
Page 2
Conditions: Switch [XXXX: RedBlueToggle] is ON
Initiation: none
Graphic: Raised Blue Block
Layer: Same as Hero
Script:
none

*This all is if the orb starts blue, otherwise switch the graphics and such.

EDIT: What?  I forgot that BBCode has to be uppercase on Charas...
Logged

Offline elementalhero76

  • Your Ad here!
  • Zealot
  • *
  • Posts: 612
  • The Writer of Light
    • Official Esgardum Wiki (locked)
(No subject)
« Reply #3 on: December 18, 2006, 03:59:15 PM »
thank you. yeah i should've used printscreen.
Logged
Retired RM2k3 user. Using VS2015 Pro.
Discord:LightWriterOfLegend2016#5786

Esgardum Legends wiki:
Dead. Need to pay $100/yr to stay open and editable. Debating if I want to or not.

Esgardum Series status:
RPG: World building and planning stage
Books: Still on book 1: The Four Sinners

  • Print
Pages: [1]
« previous next »
  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • Switch problem the sequel!
 

  • SMF 2.0.10 | SMF © 2015, Simple Machines
  • XHTML
  • 2O11
  • RSS
  • WAP2
  • Simple Machines Forum