Website Navigation Help |
Translate the Website
|
Video Content Creation Reference | |
| | specific intro pose against only one character | |
| | Author | Message |
---|
Shining
Posts : 4834 Join date : 2013-03-26 Age : 44 Location : Italy
| Subject: specific intro pose against only one character March 17th 2020, 8:37 am | |
| i need help to have specific intro pose against only ironman and only at last winning round (2nd or 3rd) i m tryng to put amazing spiderman intro pose in classic spiderman win pose but i would it will work only for ironman and only for 2nd or 3rd decisive winning match what's wrong? ;--------------------------------------------------------------------------- ; Win state decider [Statedef 180] type = S velset = 0,0 [State 180, Vs Ironman] type = ChangeState triggerall = !matchover = 1 trigger1 = !enemy,name = "ironman" trigger2 = !enemy,name = "iron-man" trigger3 = !enemy,name = "Ironman DCvsM" trigger4 = !enemy,name = "Iron man" value = 187 [state 180] type = AssertSpecial trigger1 = Time >= 0 flag = NoBarDisplay [State 180, 0] type = PosSet trigger1 = Time = 0 y = 0 [State 180] type = Width trigger1 = Time = 0 value = 50,50 [State 180] type = ChangeState trigger1 = Time >= 1 trigger1 = Win && var(40)=0 value = 186 [State 180] type = ChangeState trigger1 = Time >= 1 trigger1 = WinTime value = 181+random%4 [State 180] type = ChangeState trigger1 = Time >= 1 trigger1 = WinKO value = 181+ifelse(matchover, random%9, random% ;181+ifelse(matchover, random%5, random%4) ;------------------------------------------------------------------------------------- ; Win pose 7- Win KO ;--------------------------------------------------------------------------- ; - Iron Spider ;--------------- [Statedef 187] type = S ctrl = 0 anim = 43 velset = 0,0 [State 187, AssertSpecial] type = AssertSpecial trigger1 = 1 flag = NoBarDisplay [State 187, ScreenBound] type = ScreenBound trigger1 = 1 value = 0 movecamera = 0,0 [State 187, VelSet] type = VelSet trigger1 = anim = 43 trigger1 = animelem = 10 x = -6 y = -6 [State 187, PlaySnd] type = PlaySnd trigger1 = anim = 43 trigger1 = animelem = 11 value = S8,0 [State 187, ChangeAnim] type = explod trigger1 = time = 25 anim = 176 ;[State 187, Changestate] ;type = Changestate ;trigger1 = anim = 176 ;trigger1 = pos y >=0 ;value = 52 [State 187] type = AssertSpecial trigger1 = Time < 300 flag = roundnotover ;---------------------------------------------------------------------------------------- now it works against all characters and only at first round won by spiderman please hlp me | |
| | | Midnight-Son
Posts : 1144 Join date : 2012-10-18 Age : 31
| Subject: Re: specific intro pose against only one character March 17th 2020, 2:43 pm | |
| [quote="Shining"]
what's wrong? ;---------------------------------------------------------------------------
trigger1 = !enemy,name = "ironman" (correction trigger1 = enemy,name = "ironman") trigger2 = !enemy,name = "iron-man" (correction trigger2 = enemy,name = "iron-man") trigger3 = !enemy,name = "Ironman DCvsM" (correction trigger3 = enemy,name = "Ironman DCvsM") trigger4 = !enemy,name = "Iron man" (correction trigger4 = enemy,name = "Iron man") value = 187
in other words remove !
| |
| | | Shining
Posts : 4834 Join date : 2013-03-26 Age : 44 Location : Italy
| Subject: Re: specific intro pose against only one character March 17th 2020, 7:21 pm | |
| - Midnight-Son wrote:
- Shining wrote:
what's wrong? ;---------------------------------------------------------------------------
trigger1 = !enemy,name = "ironman" (correction trigger1 = enemy,name = "ironman") trigger2 = !enemy,name = "iron-man" (correction trigger2 = enemy,name = "iron-man") trigger3 = !enemy,name = "Ironman DCvsM" (correction trigger3 = enemy,name = "Ironman DCvsM") trigger4 = !enemy,name = "Iron man" (correction trigger4 = enemy,name = "Iron man") value = 187
in other words remove !
thank you bro ...fixed with ironman but now sometimes this win pose appear randomly in other chars (it s possible to decrease the probability iron spider win pose appears in other characters ?) or better : i would it appears only at last winning match vs ironman | |
| | | Midnight-Son
Posts : 1144 Join date : 2012-10-18 Age : 31
| Subject: Re: specific intro pose against only one character March 18th 2020, 4:56 am | |
| try adding this before trigger1
triggerall = enemy,name = "ironman" || enemy,name = "iron-man" || enemy,name = "Ironman DCvsM" || enemy,name = "Iron man"
if looking for an easy fix this may work there are other ways but they involve more coding
Edit: youre going to have to make state 187 higher so the
value = 181+random%4 & value = 181+ifelse(matchover, random%9, random%Cool;181+ifelse(matchover, random%5, random%4)
does not choose it | |
| | | Shining
Posts : 4834 Join date : 2013-03-26 Age : 44 Location : Italy
| Subject: Re: specific intro pose against only one character March 18th 2020, 5:27 am | |
| really good esplanation thanks a lot | |
| | | Sponsored content
| Subject: Re: specific intro pose against only one character | |
| |
| | | | specific intro pose against only one character | |
|
Similar topics | |
|
| Permissions in this forum: | You cannot reply to topics in this forum
| |
| |
| |