Points of Required Attention™
Please chime in on a proposed restructuring of the ROM hacking sections.
Views: 88,433,830
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search 04-19-24 01:13 AM
Guest: Register | Login

0 users currently in Fraxy | 1 guest

Main - Fraxy - Central Fraxy Related Question Thread New thread | New reply

Pages: 1 2 3 4 5 6 7 8 9 10 11 12

LocalStardrifter
Posted on 11-28-10 02:52 PM Link | Quote | ID: 138196


Level: 8

Posts: 7/8
EXP: 1625
Next: 562

Since: 02-28-10

Last post: 4890 days
Last view: 4889 days
Greetings again folks, will be outputting another Fraxy boss in about a week or two! (planning to have less bullet spam, and a 'concept' design too...and as per a newly developed tradition, will have a rather longish name)

Anyway, as usual, I'll be flinging in a heap of little drones and fighters, so-a question on variables. What's the difference between variables and global variables?
Also, for one of the more complex drones, I intend to have it split in two once it reaches a certain health. I already have that in events, but before the thing spilts into 2, stage B will first transfer damage to stage A, and will only start absorbing its own damage after separation. Is there any way to do this without using variables?

NightKev
Posted on 11-29-10 07:08 AM Link | Quote | ID: 138207


Cape Luigi
Level: 131

Posts: 4512/4792
EXP: 26214496
Next: 210124

Since: 03-15-07

Last post: 3727 days
Last view: 3639 days
Global variables are more for Try usage, but basically it's Exactly What It Says On The Tin. If one part has an event that adds 1 to the first global variable, and a different part checks to see what the value of the first global variable is later, it will be 1. While you can basically do the same thing using the variables of the other parts in the boss, for Try scenarios this allows you to share data between bosses.

As for your second question, just make the proper parts invulnerable, give them an event that basically does "when I get hit, subtract health from part Y", and then halt that even once the parts are vulnerable again. No variables required.

____________________
Pages: 1 2 3 4 5 6 7 8 9 10 11 12


Main - Fraxy - Central Fraxy Related Question Thread New thread | New reply

Acmlmboard 2.1+4δ (2023-01-15)
© 2005-2023 Acmlm, blackhole89, Xkeeper et al.

Page rendered in 0.020 seconds. (337KB of memory used)
MySQL - queries: 37, rows: 56/57, time: 0.017 seconds.