Website Navigation Help |
Translate the Website
|
Video Content Creation Reference | |
|
| help me with a code , please !! | |
| | Author | Message |
---|
gartanham
Posts : 1112 Join date : 2012-05-01 Age : 33
| Subject: help me with a code , please !! May 22nd 2021, 11:54 am | |
| | |
| | | Splash
Posts : 226 Join date : 2020-06-21
| Subject: Re: help me with a code , please !! May 22nd 2021, 2:42 pm | |
| So, let me try help:
1-I recommend you find a character that have what you want.
2- See the statedef (and animation). Make sure that your character have no the same statedef number and animation. If have the same number, just change the numbers and references. In this case no need cmd files. Only Statedef and animation code I Think.
3-Paste to your character. | |
| | | Somm
Posts : 502 Join date : 2013-09-17
| Subject: Re: help me with a code , please !! May 22nd 2021, 5:55 pm | |
| - gartanham wrote:
- Hello friends, good morning
I’m trying to put together new victory poses, but as I’ve said countless times, I'm not a coder, just a "sprite editor", and I come to ask for help again ... I need a code for a win pose that only works with victory by " time-over " Can someone help me?
I'm afraid its unnecessary complicated due to the "gametime" trigger only counts the time elapsed, I dont know if its possible to check when the time is "0" Anyway, I guess you could do something like this: [State 180, Winpose decider] type = ChangeState triggerall = enemy(0), alive || enemy(1), alive trigger1 = Time = 0 value = 185 ; Win by Time State ;----------------------- Basically, you check if one of the enemies is still alive right before you go to any other winpose. Then sends the player to a " victory by " time-over " state instead the usual winposes | |
| | | naruto
Posts : 44 Join date : 2016-11-22
| Subject: Re: help me with a code , please !! May 22nd 2021, 11:30 pm | |
| Probably have to be a custom -2 statedef. lose by time over is, ;--------------------------------------------------------------------------- ; Lose by Time Over [Statedef 170] type = S ctrl = 0 anim = 170 velset = 0,0 [State 170, 1] type = NotHitBy trigger1 = 1 value = SCA time = 1 ;--------------------------------------------------------------------------- So maybe make a targetstate = in the -2 statedef... [State -2, 5155] type = TargetState trigger1 = stateno = 170 value = 185 Just a guess??? | |
| | | gartanham
Posts : 1112 Join date : 2012-05-01 Age : 33
| | | | Sponsored content
| Subject: Re: help me with a code , please !! | |
| |
| | | | help me with a code , please !! | |
|
| Permissions in this forum: | You cannot reply to topics in this forum
| |
| |
| |