Mugen DEV Forum


  Reply to this topicStart new topicStart Poll

> Are power values frozen between rounds?
Messatsu
Posted: Feb 7 2004, 03:56 AM
Report PostQuote Post


banneded
****

Group: Members
Posts: 312
Member No.: 4158
Joined: 10-October 03



I can't find a way to modify power inbetween rounds. With the code below, the variable is increased, but the power remains untouched(simply for demonstration purposes). At first I thought that it couldn't handle complex expressions, but I ended up breaking it down to nothing and it still didn't work.

CODE
[State -2]
type     = poweradd
trigger1 = !alive
value    = 1
ignorehitpause = 1

[State -2]
type     = VarAdd
trigger1 = !alive
v        = 59
value    = 1
ignorehitpause = 1


The only trigger I have been able to activate power modification between rounds is when it strictly is "1".


--------------------
You might think that Elecbyte is dead, but this investigation has not been solved for years.
Mini ProfilePMEmail PosterUsers WebsiteAOL
Top
Winane
Posted: Feb 7 2004, 07:15 AM
Report PostQuote Post


MUGEN Grip
****

Group: Members
Posts: 314
Member No.: 122
Joined: 14-September 02



If that doesn't work, then how about something like this?:
CODE

IntPersistIndex = 59
...
[State -2]
type = VarSet
trigger1 = alive
var(59) = power

[State -2]
type = VarAdd
trigger1 = !alive
var(59) = 1

[State -2]
type = PowerSet
trigger1 = !alive
value = var(59)


Or maybe put that last controller in state 5900 or 190, with trigger1=1.

This post has been edited by Winane on Feb 7 2004, 07:20 AM
Mini ProfilePMUsers Website
Top
Messatsu
Posted: Feb 7 2004, 06:57 PM
Report PostQuote Post


banneded
****

Group: Members
Posts: 312
Member No.: 4158
Joined: 10-October 03



It works, thanks for your help.


--------------------
You might think that Elecbyte is dead, but this investigation has not been solved for years.
Mini ProfilePMEmail PosterUsers WebsiteAOL
Top

Topic Options Reply to this topicStart new topicStart Poll

 


- M.U.G.E.N Development Forum - Contact an admin - ELECBYTE - Shin Mugen -