Staredit Network

Staredit Network -> UMS Assistance -> Help me with points tables
Report, edit, etc...Posted by CeR on 2006-05-01 at 08:10:58
I have a problem. In a map I'm doing, if I put a point table, (wich changes [Deaths/Units]) Others triggers are affected...


Trigger
Description:
Point Table
Players:
¤ X
Conditions:
¤ Allways
Actions:
¤ · Put table (units table)
¤ · Quit CP players
¤ · Wait X seconds
¤ · Put table (death table)
¤ · Quit CP players
¤ · Wait X seconds
¤ · Preserve



The trigger who doesnt work correctly:

Trigger
Players:
¤ P1
Conditions:
¤ Allways
Actions:
¤ Wait X seconds
¤ Switch X "adjust"
¤ Preserve




Trigger
Description:
Make Units
Players:
¤ P1
Conditions:
¤ P1 with 1 unit "Here"
¤ Switch X adjust
Actions:
¤ Create 5 unit "Your base"
¤ Switch X "autoriced"
¤ Preserve




Any idea? helpsmilie.gif helpsmilie.gif
Report, edit, etc...Posted by WoodenFire on 2006-05-01 at 14:33:44
Waits are interfearing with other waits in the same trigger slots.

Use a deathcounter timer instead or minerals like this...


P8 = Computer

[Starting Trig]
Cond
-Always
Act
-Add+1Ore for P8
-Preserve Trig

[Body - Infinite just increase Deaths Requirement by 1]
Cond
-Ore P8 is atleast 30
-Deaths for p8 Crystal is exactly 0
Act
-Display LeadBoard (w/e u want)
-Set Deaths Crystal add 1 for P8
-Preserve Trig

Cond
-Ore P8 is atleast 60
-Deaths for p8 Crystal is exactly 1
Act
-Display LeadBoard (w/e u want)
-Set Deaths Crystal add 1 for P8
-Preserve Trig

[Ending - Make sure this is your last Leaderboard switch to save trigger count]
Cond
-Ore P8 is atleast 90
-Deaths for p8 Crystal is exactly #(Last leadboard required +1)
Act
-Set Resources for P8 to 0
-Display LeadBoard (w/e u want)(Or leave this out)
-Set Deaths Crystal to 0 for P8
-Preserve Trig



I did this in school so Its a little more complex then you should require... I don't think you need all of that and I only did it because Leadboards sometimes bug if you don't do "At Least" for Variable/Timer so Exactly could miss the target time... Ugh. Hope that helps?
Report, edit, etc...Posted by CeR on 2006-05-03 at 16:46:48
Reading it... i found a bug.

And the time? Where I can do to show the tables only 1 min (change) 1 min (change) 1 min (change)

(For example)


helpsmilie.gif helpsmilie.gif helpsmilie.gif
Next Page (1)