mugen chars, rare characters
Mugen | CHAT | Projectiles Problem - Forum | Registration | Login
[New messages · Members · Forum rules · Search · RSS ]
  • Page 1 of 1
  • 1
Projectiles Problem
MGSSJ2Date: Saturday, 2009-09-26, 3:55 AM | Message # 1
Mystic Coder
Group: contributor
Messages: 2954
Awards: 5
Reputation: 47
Reproofs: 0%
Status: Offline
Well, I am making a multi-projectiles attack, but I have a problem.
I use the next SuperCtrl:

[State Projectile]
type = Projectile
trigger1 = time >= 11
trigger1 = time % 5
projanim = 206
projremove = 0
projremovetime = 120-(time-11)
projID = 206
offset = (time-11)*15,0

This is coded so projectiles appears one every 5 ticks, from the 11th tick, and in a determined position over the previous one, dissapearing at the same time too. But when the projectiles starts, there is 1 missing every 4 projectiles. Example:

P-->P-->P-->P-->N-->P-->P-->P-->P-->N-->P-->P-->P-->P-->N-->...

P = Projectile
N = Nothing

Can somebody tell me why the 5th projectiles doesn't appear? Please help


 
buyDate: Saturday, 2009-09-26, 7:05 PM | Message # 2
Angel
Group: Administrators
Messages: 1243
Awards: 2
Reputation: 14
Status: Offline
Are you suere there is no miscalculation with the projremovetime= 120-(time-11)
 
  • Page 1 of 1
  • 1
Search:

Copyright MyCorp © 2024 Create a free website with uCoz