YesNoOk
avatar

AuthorName(*,***) (triggers) (Read 1059 times)

Started by Just No Point, September 12, 2015, 11:14:45 am
Share this topic:
AuthorName(*,***) (triggers)
New #1  September 12, 2015, 11:14:45 am
  • ******
    • www.justnopoint.com/
Returns the player's author's name (specified in the .DEF file). This may also be useful for telling apart characters with the same name but different authors.

Format:
AuthorName [oper] "name"
Arguments:
[oper]
=, != (other operators not valid)
"name" (string)
Name to compare against. Must be in double quotes.
Return type:
boolean int (1 or 0)
Error conditions:
none
Example:

Code:
trigger1 = Authorname = "Suika"
  Returns true if the character's author is named Suika.
Last Edit: September 18, 2015, 02:53:11 pm by Just No Point
Re: AuthorName(*,***) (triggers)
#2  September 12, 2015, 01:33:32 pm
  • ******
  • Hedgehog Whisperer
  • Red Bull addict
    • Spain
    • xgargoyle.mgbr.net
you will normally use enemy,authorname for custom intros. You can also use authorname on your own character as antitheft methods.
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: AuthorName(*,***) (triggers)
#3  September 12, 2015, 02:04:44 pm
  • ****
  • play more SNK games
  • I FUCKING LOVE PLATINUM!
    • South Africa
    • www.trinitymugen.net/
Who steals characters nowadays? :/
Re: AuthorName(*,***) (triggers)
New #4  September 12, 2015, 02:57:59 pm
  • ****
  • Vs Style Debuts Tag Project CEO
  • The Dark Wolf Returns
    • USA
I used this kind of trigger when I wanted to prevent a move from happening or activate the tag system in my roster. My self-insert can't call WereGarurumon for Assist with QCF+kick if WereGarurumon's his partner in simul matches.

Example of the code
Code:
[State 0, VarSet]
type = VarSet
trigger1 = Partner,name = "WereGarurumon by TGM" && partner,authorname = "DarkWolf13-MvC2"
trigger2 = Partner,name = "WereGarurumon by TGM" && partner,authorname = "DarkWolf13"
trigger3 = Partner,name = "WereGarurumon"
var(29) = 1


; NEW !! Tag active definer
[State -2, def]
type = VarSet
triggerall = Partner,Authorname = "mouser-MvC2" || Partner,authorname = "DarkWolf13-MvC2"
trigger1 = teammode = simul || teammode = turns
trigger1 = roundstate < 1
trigger1 = time = [0,1]
var(33) = 1

[State -2, def]
type = VarSet
trigger1 = partner,Authorname != "mouser-MvC2" && Partner,authorname != "DarkWolf13-MvC2"
trigger2 = teammode = single
trigger2 = roundstate < 1
trigger2 = time = [0,1]
var(33) = 0
Beware the Dark Wolf once more!
Last Edit: September 23, 2015, 03:39:28 am by DarkWolf13