YesNoOk
avatar

type, movetype, physics = U, what does that mean? (Read 332 times)

Started by Disconcorde, October 10, 2019, 10:15:14 pm
Share this topic:
type, movetype, physics = U, what does that mean?
#1  October 10, 2019, 10:15:14 pm
  • avatar
  • *
    • UK
In characters that deal with the null trigger, I often see the type, movetype and physics set to U. (Example Given).

Code:
[Statedef 5151]
type = U
movetype = U
physics = U
hitdefpersist = 1
movehitpersist = 1

What does that mean and why specifically these settings in so many characters?
Last Edit: October 23, 2019, 01:01:55 am by Disconcorde
Re: type, movetype, physics = U, what does that mean?
#2  October 10, 2019, 11:19:40 pm
  • ***
    • deathscythemugen.neocities.org
U means "unchanged" from the previous state, meaning if the previous state type was S, this state will continue being S, and so on.
Re: type, movetype, physics = U, what does that mean?
#3  October 11, 2019, 10:57:10 am
  • ******
  • Hedgehog Whisperer
  • Red Bull addict
    • Spain
    • xgargoyle.mgbr.net
The U parameter is useful when you put the enemy in a custom state, because in some instances the enemy could be in different statetypes/physics, and you don't want to change to the wrong type during the custom state (as in enemies walking on the air)
XGargoyle: Battle posing since 1979
http://xgargoyle.mgbr.net
http://www.pandorabots.com/pandora/talk?botid=e71c0d43fe35093a  <-- Please click that link
http://paypal.me/XGargoyle  <-- Donations welcome!
Re: type, movetype, physics = U, what does that mean?
#4  October 23, 2019, 01:01:49 am
  • avatar
  • *
    • UK
Sorry, I went on and forgot about this post. You've answered my questions and I'll mark it solved. Thanks.