collapse

Author Topic: Win pose VS specific character  (Read 1050 times)

0 Members and 1 Guest are viewing this topic.

Offline Fou

  • Mage of the sun
  • RMM Contributor
  • ****
  • Posts: 534
  • Last Login:March 01, 2019, 11:22:55 AM
  • I can taste your fear... and IT'S DELICIOUS !
    • Fou-the-mage
    • Email
Win pose VS specific character
« on: December 30, 2011, 07:28:59 PM »
I want to make a win pose when Meta Knight beat Kirby or Galacta Knight.
What is the problem ?

Quote
;---------------------------------------------------------------------------
; Win
[statedef 180]
type = s
ctrl = 0

[State 180, 1]
type = ChangeState
trigger1 = P2Name = "Kirby"
value = 1810

[State 180, 1]
type = ChangeState
trigger1 = P2Name = "GalactaKnight"
value = 18100

[State 180, 1]
type = ChangeState
trigger1 = !time
value = 181 + random%2



(click to show/hide)

Offline Space (DCL)

  • IMT Content Architect
  • *
  • Posts: 1166
  • Country: United States us
  • Last Login:November 01, 2024, 11:50:56 PM
  • If you see this, I'm alive!
Re: Win pose VS specific character
« Reply #1 on: December 30, 2011, 07:59:08 PM »
heres a few tips:
1. The "P2Name" (or P4Name) refers to the character's actual name. Not the display name. Instead of P2Name or P4Name i use enemy,name="name"
Example:
[State 180, 1]
type = ChangeState
trigger1 = enemy,name = "Kirby"
value = 1810

2. Set specific settings so it will be in either "single" mode or "turns", it wont seem right someway in Simul mode. Also, if you are going for a specific Kirby or Galacta Knight, add the author name too.
Heres a sample:
[State 180, 1]
type = ChangeState
trigger1=(TeamMode=Single)||(TeamMode=Turns)
trigger1=(enemy,TeamMode=Single)||(enemy,TeamMode=Turns)
trigger1 = enemy,name = "Kirby" && enemy,authorname = "author"
value = 1810
(click to show/hide)
zzz...I'm top tier...screw you Doom and Wesker...zzz

Offline shootYr.

  • [Magnum]
  • Contributor
  • ****
  • Posts: 1112
  • Last Login:September 11, 2012, 07:27:16 PM
  • What're you gonna do to me?...
Re: Win pose VS specific character
« Reply #2 on: December 30, 2011, 08:06:01 PM »
I'm guessing this is an issue of which state controller is being checked first. I suggest using ifelse (or boolean algebra) along with enemy or enemynear name instead of P2name.

Quote
[State 180, 1]
type = ChangeState
trigger1 = !time
value = ifelse(enemy,name = "GalactaKnight",18100,ifelse(enemy,name = "Kirby",1810,181+random%2))

Offline Fou

  • Mage of the sun
  • RMM Contributor
  • ****
  • Posts: 534
  • Last Login:March 01, 2019, 11:22:55 AM
  • I can taste your fear... and IT'S DELICIOUS !
    • Fou-the-mage
    • Email
Re: Win pose VS specific character
« Reply #3 on: December 30, 2011, 08:13:41 PM »
Thank a lot ! I got it !  :)

(click to show/hide)

Tags:
 


* IMT Facebook

Help us by Donating!

IMT Discord

Join us at our Discord! Click the image below!

* IMT Shoutbox

Sorry, this shoutbox does not exist.

* Recent Posts

D2TD VS Showcase Thread by D2TD
[November 24, 2024, 09:12:03 AM]


Marvel vs. Capcom: Eternity of Heroes REMAKE Game Update 1.3.0 - N.A.O.H. by LightFlare
[November 21, 2024, 09:44:09 PM]


Terrordrome: Rise of the Boogeymen Extended Version ( jeepers creepers) version by leonardo
[November 19, 2024, 10:22:47 PM]


Hill of the Nameless(1.1 Only) by Vegaz by LightFlare
[November 19, 2024, 10:50:39 AM]


Golden Axe Returns by gokudo99
[November 19, 2024, 03:59:31 AM]


Barkley Shut Up and Jam! Stages by Vegaz by LightFlare
[November 12, 2024, 11:26:21 AM]


[BOR] _Avengers United Battle Force_ by O Ilusionista
[November 11, 2024, 12:35:24 PM]


Eternal Lament Stage 1.1 & 1.0 by O Ilusionista
[November 11, 2024, 12:34:54 PM]


MatreroG's Stages W.I.P. Concepts by MatreroG
[November 11, 2024, 07:00:56 AM]


Spooky House(1.1 Only/AIGS) by Vegaz by LightFlare
[October 31, 2024, 11:31:36 AM]

* IMT Calendar

November 2024
Sun Mon Tue Wed Thu Fri Sat
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 [25] 26 27 28 29 30

SimplePortal 2.3.5 © 2008-2012, SimplePortal