Staredit Network

Staredit Network -> UMS Assistance -> Custom Score
Report, edit, etc...Posted by bengals2k4 on 2004-09-08 at 15:51:51
There was a trigger concerning custom score in one of the maps I downloaded, just wondering what that was
Report, edit, etc...Posted by Mini Moose 2707 on 2004-09-08 at 15:58:29
‘Custom’ points are values that are user defined. Custom points can only be modified using Trigger Actions.

Copyright © 1997 Blizzard Entertainment. All Rights Reserved.
Report, edit, etc...Posted by bengals2k4 on 2004-09-08 at 16:00:13
but how can the trigger be activated if I can't change the custom score during the game?
Report, edit, etc...Posted by KiLLeR2001 on 2004-09-08 at 16:24:23
QUOTE(bengals2k4 @ Sep 8 2004, 04:00 PM)
but how can the trigger be activated if I can't change the custom score during the game?

What do you mean? The only way you can give custom scores in map is by using triggers. It's that simple.
Report, edit, etc...Posted by CheeZe on 2004-09-08 at 18:10:10
custom scores are a variable. they can store (almost) any number and you can use them for almost anything. custom scores are used for things when you want to add levels or custom made points. they conditions and actions are the same as the other scores.
Report, edit, etc...Posted by phatdiddy on 2004-09-08 at 18:20:08
They're very similar to death counters, except their just a custom score instead.

You would use the action set score, and then add, subtract, or set the custom score. The custom score is good for like points or something like that, or experience.
Report, edit, etc...Posted by bengals2k4 on 2004-09-08 at 18:26:24
Conditions:
Current player's custom score is exactly 1
Current player brings exactly 0 buildings to 'P1U'

Actions:
Create 1 blacksmith at 'P1U' for current player.

and so on...

P.S. this trigger was in the dragonlance rpg made by firefly
Report, edit, etc...Posted by EzDay281 on 2004-09-08 at 18:27:08
How it works is this:
As Moose quoted from the Help Manual(I think), they can only be effected by triggers.
So what good are they, you ask?
Let's say we have a trigger for a book, but it has several pages and you want people to read all of them.
So, here's our trigger!(I'm feeling happy and helpful right now, rather than sarcastic, so I'm actualy going to help you without forcing you to use your mind! Unless you're simply new to triggers, I forget):

Conditions:
Current PLayer brings 1 BigBook to location 'Use Item'
Current Player has exactly 0 Custom Score
Actions
Set score for Current Player to 1
Display Text: I'm a book! Read me bizotch! TextTextTextTextTextTextTextTextText.
Move 1 BigBook at location 'Use Item' to 'Items'
Preserve Trigger

Conditions:
Current PLayer brings 1 BigBook to location 'Use Item'
Current Player has exactly 1 Custom Score
Actions
Set score for Current Player to 0
Display Text: I'm a damn short book, I only gotz 2 pages, haha!
Move 1 BigBook at location 'Use Item' to 'Items'
Preserve Trigger

EDIT: Oh hey you posted while I was typing this message
Report, edit, etc...Posted by bengals2k4 on 2004-09-08 at 18:38:30
so how am I suppose to get from custom score 0 to 1? and what the heck is 'P1U'? confused.gif
Report, edit, etc...Posted by phatdiddy on 2004-09-08 at 18:40:01
YOu use the action Set Score.

Then change the fields so that you add 1 to the custom score.
Report, edit, etc...Posted by bengals2k4 on 2004-09-08 at 18:41:35
Ok, wow, I have no idea what you just said blushing.gif you have to pay attention to my map making skills!
Report, edit, etc...Posted by phatdiddy on 2004-09-08 at 18:45:26
O none I see.

Ok go into the campaign editor and open the trigger editor. Set the players and make a condition.

Now make a new action and choose the one titled "Set Score."

Hopefully you can do at least that, if you need really detailed like how to click the mouse buttons or what is a mouse, I'd be happy to give you that, but then of course you'd be labeled as an idiot.

Now change the blue 'player' text to whatever player the score is for. Then change the 'Set' text to either add, subtract, or set. Then change the 'quantity' text to whatever point you want the variable to change by. Then change the 'points' to custom score.
Next Page (1)