There was a trigger concerning custom score in one of the maps I downloaded, just wondering what that was
‘Custom’ points are values that are user defined. Custom points can only be modified using Trigger Actions.
Copyright © 1997 Blizzard Entertainment. All Rights Reserved.
but how can the trigger be activated if I can't change the custom score during the game?
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.
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.
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.
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
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
so how am I suppose to get from custom score 0 to 1? and what the heck is 'P1U'?

YOu use the action Set Score.
Then change the fields so that you add 1 to the custom score.
Ok, wow, I have no idea what you just said

you have to pay attention to my map making skills!
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.