YesNoOk
avatar

Stagevar Help (Read 948 times)

Started by Steimpunk, July 12, 2011, 04:39:02 am
Share this topic:
Stagevar Help
#1  July 12, 2011, 04:39:02 am
  • **
  • Progress: ongoing
    • USA
Apparently, I cannot use stagevar(shadow.yscale) as a valid constant.
I wanted to do something like this.
Code:
[State 0, Explod]
type = Explod
trigger1 = animelem = 1
trigger1 = stagevar(info.name) = "Mist"
anim = F310
removetime = -2
scale = 1, abs(stagevar(shadow.yscale))
sprpriority = -1
ownpal = 1


The idea was to make the size of certain explods consistent with the sizes of the shadows in the stage, for reasons related to perspective.
It's only a minor detail, but is there any way to do this?  :dizzy2:
Re: Stagevar Help
#2  July 12, 2011, 05:07:31 am
  • ******
  • Limited time to use Infinite power !
    • France
    • network.mugenguild.com/cybaster/

  • Online
Quote
Valid values are:
    info.name, info.displayname, info.authorname.
So no, no way to do this on an automated basis for each stage. Sorry. :(
Re: Stagevar Help
#3  July 12, 2011, 05:12:20 am
  • **
  • Progress: ongoing
    • USA
Well, that's disappointing, but thanks!
I'll just have to set individual triggers for each stage; it shouldn't be too much extra work.  :2thumbsup: