Don't forget to read the rules of the forum. No current release restrictions. | Help Search Members Calendar

Logged in as: The Dreamslayer ( Log Out ) | My Controls · 0 New Messages · View New Posts · My Assistant

Mugen DEV Forum -> Development and Help Forums -> Development Help

Are power values frozen between rounds?
Track this topic | Email this topic | Print this topic

Messatsu | Posted: Feb 7 2004, 03:56 AM
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.

Winane | Posted: Feb 7 2004, 07:15 AM
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

Messatsu | Posted: Feb 7 2004, 06:57 PM
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.

« Next Oldest | Development Help | Next Newest »

Close Topic Options
Track this topic
Receive email notification when a reply has been made to this topic and you are not active on the board.
Subscribe to this forum
Receive email notification when a new topic is posted in this forum and you are not active on the board.
Download / Print this Topic
Download this topic in different formats or view a printer friendly version.
- M.U.G.E.N Development Forum - Contact an admin - ELECBYTE - Shin Mugen -
Powered by Invision Power Board(U) v1.2 © 2003 IPS, Inc.