EOS refill item--

Started by Tazero, February 11, 2010, 05:21:37 pm

Previous topic - Next topic

Tazero

I'm using EOS, the DBS and I'm trying to make an item that will fill 1 persons rage bar (gain is 250 so 1000 = 100) but I'm not sure how this would work (the common event btw) How would i use the call script plz and thanks


-Taz


If you were a fish...

WhiteRose

February 11, 2010, 08:08:40 pm #1 Last Edit: February 11, 2010, 08:13:26 pm by WhiteRose
From the script instructions:

# Additional info:
#
#   If you want to change the value of the SR % ingame use the "Call script"
#   event command and use this syntax:
#
#     $game_actors[X].sr = Y
#
#   X - ID of the hero in the database
#   Y - new value of the SR
#
#   You can also use another syntax:
#
#     $game_party.actors[X].sr = Y
#
#   X - position of the hero in the party
#   Y - new value of the SR
#
#   Note that X starts from 0 and NOT 1. The ammount is shown as 100,0%, this
#   is 1000 SR. i.e. 59,1% would be 591 SR.

Just create a common event with a script call. I hope that helps!

EDIT:
Oops, I read EOS as CRLS. Sorry, my fault.

This one is from the EOS instructions:

# Additional info:
#
#   If you want to change the value of the OD % ingame use the "Call script"
#   event command and use this syntax:
#
#     $game_actors[X].overdrive = Y
#
#   X - ID of the hero in the database
#   Y - new value of the OD
#
#   You can also use another syntax:
#
#     $game_party.actors[X].overdrive = Y
#
#   X - position of the hero in the party
#   Y - new value of the OD
#
#   Note that X starts from 0 and NOT 1. The amount is shown as 100,0%, this
#   is 1000 OD. i.e. 59,1% would be 591 OD.

Tazero

Yeah... I know this.... How do I change one specific actors rage by item use?


If you were a fish...

Blizzard

You need a script if you want to use an item on an actor and that would refill his SR/Overdrive. If you have an item that always refills the SR/Overdrive of one specific actor, then you can do it with the event calling a common event.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Tazero

It's that the character using (Rager fruit) item, the EOS bar gets filled for that actor the the Rage stone is easy just fill position1,2,3,4 ;)


If you were a fish...

Ryex

the difficulty here is telling which actor used the item
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.<br /><br />DropBox, the best free file syncing service there is.<br />