Staredit Network

Staredit Network -> UMS Assistance -> I have two Major Problems with my RPG
Report, edit, etc...Posted by Devils_Angel on 2005-07-20 at 22:17:26
I have two problems

Problem 1: In my RPG i want a leader, easy to do, but i want it to switch from Level ( for level i used the score type CUSTOM ) to Experience ( for experience i used the score type KILLS ). I -->

Condition
-Always

Action
-Display Leaderboard blah blah blah Level (CUSTOM)
-wait for (X) miliseconds
-Display Leaderboard blah blah blah Experience (KILLS)
-preserve trigger

But for some reason still does nt not work...at first it works but only 1 time, saying that it switches from level to experience but then stays at experience...?
--Help me with this problem

Problem 2: In my RPG I Set the experince score type to use KILLS. so heres the trigger, saying that the unit is a zergling

Condition
-Player 1 kills atleast 1 zergling
-player 8 has suffered 1 death of sergling

Action
-Add score type KILLS of 15 to player 1 score
-preserve trigger

But when player 1 kills a zergling it still adds only 1 KILL to its score?

(Jus to let you know my RPG is a battle arena type, such as FF 3 RPG and XURU RPG)

Plz help me with this.

helpsmilie.gif helpsmilie.gif helpsmilie.gif confused.gif
Report, edit, etc...Posted by Snipe on 2005-07-20 at 22:23:37
this trigger seems to come up quite a bit.. Some people have lots of Trouble with Leader Score boared. I don't understand why. It isn't the most difficut tirgger tongue.gif. I don't really see the problem in that. I'm really tired to really do anything but just check over tutorials or somthing..
Report, edit, etc...Posted by slayer766 on 2005-07-20 at 22:35:39
Well your first problem you can do it like this: (By using Death Counters)


Trigger
Description:
Player It Applies to
Conditions:
¤ Always
Actions:
¤ Set Deaths for current player add 1 deaths of (unused Unit)
¤ Preserve Trigger



Trigger
Description:
Player It Applies to
Conditions:
¤ Current player has suffered at least 5 deaths of (unused Unit)
Actions:
¤ Show leaderboard #1
¤ Preserve trigger



Trigger
Description:
Player It Applies to
Conditions:
¤ Current player has suffered at least 10 deaths of (unused Unit)
Actions:
¤ Show leaderboard #2
¤ Set Deaths for current player set to 0 for (unused Unit)
¤ Preserve trigger


Second problem don't use Kills use Kills Score. And figure out your experieceing from how much the kills score for each unit is, which is right here: Unit Kills Score
Report, edit, etc...Posted by Shadow181 on 2005-07-21 at 08:12:05
QUOTE(Devils_Angel @ Jul 21 2005, 12:17 PM)
I have two problems

Problem 1: In my RPG i want a leader, easy to do, but i want it to switch from Level ( for level i used the score type CUSTOM ) to Experience ( for experience i used the score type KILLS ). I -->

Condition
-Always

Action
-Display Leaderboard blah blah blah Level (CUSTOM)
-wait for (X) miliseconds
-Display Leaderboard blah blah blah Experience (KILLS)
-preserve trigger

But for some reason still does nt not work...at first it works but only 1 time, saying that it switches from level to experience but then stays at experience...?
--Help me with this problem
Well you should try putting a wait before the preserve trigger..



QUOTE(Devils_Angel @ Jul 21 2005, 12:17 PM)
Problem 2: In my RPG I Set the experince score type to use KILLS. so heres the trigger, saying that the unit is a zergling

Condition
-Player 1 kills atleast 1 zergling
-player 8 has suffered 1 death of sergling

Action
-Add score type KILLS of 15 to player 1 score
-preserve trigger

But when player 1 kills a zergling it still adds only 1 KILL to its score?

(Jus to let you know my RPG is a battle arena type, such as FF 3 RPG and XURU RPG)

Plz help me with this.

helpsmilie.gif  helpsmilie.gif  helpsmilie.gif  confused.gif
[right][snapback]266719[/snapback][/right]

because you are adding to the score, but in previous problem you are displaying kills not kill score, well that is my theory I am not sure exactly.
Report, edit, etc...Posted by slayer766 on 2005-07-21 at 15:01:19
QUOTE(Shadow181 @ Jul 21 2005, 07:12 AM)
Well you should try putting a wait before the preserve trigger..


That still will not change the leaderboard, because putting the wait before the preserve trigger will just have the two leaderboard's at the same time and will only display one all the time.
Report, edit, etc...Posted by UED77 on 2005-07-21 at 17:16:17
QUOTE(slayer766 @ Jul 21 2005, 03:01 PM)
That still will not change the leaderboard, because putting the wait before the preserve trigger will just have the two leaderboard's at the same time and will only display one all the time.
[right][snapback]267064[/snapback][/right]


What are you talking about?

Conditions
-Always

Actions
-Display Leaderboard Level (CUSTOM)
-Wait for (X) milliseconds
-Display Leaderboard Experience (KILLS)
+Wait for (X) milliseconds
-Preserve trigger

It will work. It displays Custom, waits, displays Kills, waits, then starts all over again.

UED77
Report, edit, etc...Posted by Staredit.Net Essence on 2005-07-22 at 21:59:26
Thanks Guys....I guess
Report, edit, etc...Posted by PCFredZ on 2005-07-22 at 23:35:49
QUOTE
Condition
-Player 1 kills atleast 1 zergling
-player 8 has suffered 1 death of sergling

Action
-Add score type KILLS of 15 to player 1 score
-preserve trigger


The first condition is not a 1-time check to see if Player 1 has just killed a zergling, but the overall number of zerglings killed by P1. The second condition follows the same path, it will only be true of P8 lost 1 zergling throughout the entire game.

The first action adds to the kill score, which would already have been incremented by 50 because that is the amount added when the player kills a zergling, to make the score 115. The problem of the preserve trigger, as you can see, is that it will constantly repeat because of hte nature of the conditions described above, so the Kill score does not stop at 115.

If there's anything that was confusing in the explanation above, just say so.
Next Page (1)