News:

MFG's Character of the Month: October 2026 Nominations

Main Menu

Triggers every 60-ticks

Started by ShunpoHadouken, December 13, 2008, 12:09:26 PM

Previous topic - Next topic

ShunpoHadouken

How to trigger every after 60-ticks?
Thanks For Any Help!!!

Cyanide



In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.

DeFrenZ

Low Res > Hi-Res.

ShunpoHadouken

#3
What's that effect?
Anyway,What I'm trying to make is a land attack like firewall that stays at the land  that damages every after 60-ticks?
Thanks
Thanks For Any Help!!!

Rajaa Retired

60 secs is a whole battle, every 60 ticks might be what you want; do the math

60 ticks= 1 sec


ShunpoHadouken

Oh I'm very sorry.
Yep. Its is every 60 ticks
Thanks For Any Help!!!

ShunpoHadouken

Thanks a lot. It works.
It just not work because of my mistake.
Its:
trigger1 = gametime%60 = 0

Thanks.
Thanks For Any Help!!!

The Aboriginal One

Quote from: DeFrenZ on December 13, 2008, 12:25:09 PM
!gametime%3600

:D

That does ask another question.

Does !gametime%60 work as well?

Seeing that it's technically gametime%60 = FALSE

and FALSE = 0
Accusare nemo se debet nisi coram Veridis
DYNOMITE

Rajaa Retired

it should work:

!(time%10) works so it should work for gametime, i think the parenthesis should be there just in case though :P

DeFrenZ

uhm yeah, i think the () should go there, because ! has higher priority than % iinm :(

i use it with !Time and !AnimTime usually so i forgot about it :P
Low Res > Hi-Res.

Cyanide

Well gametime%10 = 0 would be occur every 10 ticks.

!gametime%10 = 0 would be occur ticks 0-9, then not occur on tick 10, and so on.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.

MikeDaBike

(!GameTime%10 = 0) will actually always return 1 because !GameTime returns true(1) just at GameTime = 0 and false(0) otherwise. And 0 mod 10 is 0 so this equation will always return true (except at GameTime = 0)

I assume you meant !(GameTime%10=0) which is actually equal to GameTime%10 speaking of logic.
Latest Creation: SSBB Assist Trophies

aokmaniac13

Persistent = 60 would also work.

Cyanide

Not in state -2 though.

For that matter, gametime isn't fantastic in state -2 either when you're triggering off a variable that's also decreasing on gametime. Seems to go really fucked up.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.

Rajaa Retired

isn't

!(gametime%10) the same as gametime%10=0 ?

what makes it different is when you put !gametime%10=0 two different triggers correct? aah well :-\

aokmaniac13

#15
Random nonsense

Rajaa Retired


PotS

They both do the same stop it already! :pwnonk:
You can help with Ikemen GO's development by trying out the latest development build and reporting any bugs on GitHub.
My Mugen and Ikemen content can also be found here.

Rajaa Retired

i was pretty sure they did, i mean, i use the same trigger with time%##

zero = exclamation mark

aokmaniac13

Oh crap I read it wrong my bad.