YesNoOk
avatar

StageVar(*,***) (Triggers) (Read 22585 times)

Started by JustNoPoint, October 19, 2015, 02:08:36 am
Share this topic:
StageVar(*,***) (Triggers)
#1  October 19, 2015, 02:08:36 am
  • ******
    • www.justnopoint.com/
Returns information about the stage. A limited number of parameters are supported.

Format:
StageVar(param_name) [oper] "string"

Arguments:
param_name
The name of the stage parameter to check. Valid values are:
info.name, info.displayname, info.authorname.
[oper]
=, != (other operators not valid)
"string" (string)
String to compare against. Must be in double quotes.

Return type:
boolean int (1 or 0)

Error conditions:
none

Details:
info.author: Compares the value of the "author" parameter in the [Info] group. (boolean)
info.displayname: Compares the value of the "displayname" parameter in the [Info] group. (boolean)
info.name: Compares the value of the "name" parameter in the [Info] group. (boolean)

Versions:
1.0 and newer

Example:
Code:
trigger1 = StageVar(info.author) = "Suika"
  Returns true if the stage author is named "Suika".

Related SCTRL:
VarAdd (SCTRLs)
VarRandom (SCTRLs)
VarRangeSet (SCTRLs)
VarSet (SCTRLs)

Related Triggers:
Var and FVar (Triggers)
SysVar (Triggers)
SysFVar (Triggers)

Related CNS:
IntPersistIndex & FloatPersistIndex  -  Player Variables (CNS)
Last Edit: December 10, 2015, 02:33:15 pm by Odb718
Re: StageVar(*,***) (Triggers)
#2  November 20, 2015, 01:10:58 pm
  • ***
  • Mega Man Classic
  • pachirisu is sexy af
    • Canada
    • anoobtroll@gmail.com
Is it possible to make a stage specific win pose with stagevar?
Pokecommunity account (Will start learning about romhacking): http://www.pokecommunity.com/member.php?u=553303

Why are there some people here trying to go into their ways into trying to ruin my Mugen hobby here and make me look like bad?



https://www.youtube.com/watch?v=3_TMrr6eqQc
Re: StageVar(*,***) (Triggers)
#3  November 20, 2015, 04:34:13 pm
  • ******
  • A living Mugen dinossaur :)
  • 23 years of Mugen O_o
    • Brazil
    • www.brazilmugenteam.com
Yes
Re: StageVar(*,***) (Triggers)
#4  November 20, 2015, 08:05:36 pm
  • ******
  • Hedgehog Whisperer
  • Red Bull addict
    • Spain
    • xgargoyle.mgbr.net
you can also enable stage-specific gimmicks such as Vega/Claw cage cling or danger zones a la World Heroes
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: StageVar(*,***) (Triggers)
#5  November 20, 2015, 08:55:42 pm
  • ****
  • a.k.a DuckSS
    • https://synckmugencentral667.000webhostapp.com/
Thanks for this sweet code :)
Gotta do something with it.
Re: StageVar(*,***) (Triggers)
#6  November 21, 2015, 02:16:37 am
  • avatar
  • ***
  • Been toying with MUGEN since 2014
    • USA
I did not know this! In the right hands, this can lead to some insane stunts.
If there are any problems, let me know. I will try to fix them as soon as possible.
Re: StageVar(*,***) (Triggers)
#7  November 21, 2015, 02:33:13 pm
  • ***
  • Mega Man Classic
  • pachirisu is sexy af
    • Canada
    • anoobtroll@gmail.com
I did not know this! In the right hands, this can lead to some insane stunts.

You should see Interactive MUGEN by Electr0. He's done like everything but platforms for some reason.
Pokecommunity account (Will start learning about romhacking): http://www.pokecommunity.com/member.php?u=553303

Why are there some people here trying to go into their ways into trying to ruin my Mugen hobby here and make me look like bad?



https://www.youtube.com/watch?v=3_TMrr6eqQc
Re: StageVar(*,***) (Triggers)
#8  November 21, 2015, 06:38:09 pm
  • ******
  • [E]
    • Mexico
you can have a hardcoded ground map in the characters and use the stage name to trigger it, so it's possible, yep.
Last Edit: November 22, 2015, 12:23:34 am by Odb718
Re: StageVar(*,***) (Triggers)
New #9  February 26, 2020, 01:06:18 am
  • avatar
    • USA
does this work in mugen 1.1? people seem to not be able to find a stage recognition system, so i just wondered if this was removed or if people just don't do their research

update: so it does work, it's just SUPER limited
Last Edit: February 26, 2020, 01:28:26 am by KnightOfTheCraft