collapse

Author Topic: Transformation Turn Code  (Read 612 times)

0 Members and 1 Guest are viewing this topic.

Offline Hellzone

  • Character Creator Newbie
  • Forum Member
  • ***
  • Posts: 278
  • Country: United States us
  • Last Login:April 11, 2019, 09:08:42 PM
    • Skype - defcon_awesome
    • ItzHellzone Gaming
    • Email
Transformation Turn Code
« on: September 22, 2018, 12:34:10 AM »
Ok so im working on Tsuna and im giving him a transformation where his hands become on fire and im having issues with turning, this is the first time i've done a transformation. I managed to get his transformation turning working but now he is getting stuck in his normal turn here is the coding

[State 0, 1] ; Transformation
type = ChangeAnim
triggerall = time = 0
trigger1 = Anim != 0 && Anim != 5
trigger2 = Anim = 5 && AnimTime = 0 ;Turn anim over
value = ifelse(var(10)=0,0,4000)

[State 0, Fire Hands] ; Fire Hands Turn
type = ChangeAnim
triggerall = var(10) > 0
trigger1 = Anim != 4000 && Anim != 4005
trigger2 = Anim = 4005 && AnimTime = 0
value = 4000

[State 0, No Fire Hands] ; Non Fire Hands Turn
type = ChangeAnim
triggerall = time = 0
trigger1 = Anim != 0 && Anim != 5
trigger2 = Anim = 5 && AnimTime = 0
value = 0
« Last Edit: September 22, 2018, 01:39:51 AM by Hellzone »



Offline Hellzone

  • Character Creator Newbie
  • Forum Member
  • ***
  • Posts: 278
  • Country: United States us
  • Last Login:April 11, 2019, 09:08:42 PM
    • Skype - defcon_awesome
    • ItzHellzone Gaming
    • Email
Re: Transformation Turn Code
« Reply #1 on: September 23, 2018, 09:27:05 PM »
I figured this out

this is the code i used.

[State 0, No Fire Hands]
type = ChangeAnim
triggerall = Var(10) <= 0
trigger1 = Anim != 0 && Anim != 5
trigger2 = Anim = 5 && AnimTime = 0
value = 0

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

* IMT Calendar

April 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