| |||
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 |
LocalStardrifter |
| ||
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 |
| ||
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. ____________________ |
Main - Fraxy - Central Fraxy Related Question Thread | New thread | New reply |
© 2005-2023 Acmlm, blackhole89, Xkeeper et al. |
MySQL - queries: 37, rows: 56/57, time: 0.017 seconds. |