Difference between revisions of "User:Sirrob01"

From Australis Ultima 30k
Jump to: navigation, search
m (DPL Fun)
m (DPL Fun)
Line 185: Line 185:
 
{{#vardefine:iaas | {{#expr:{{#var:iaas}}+1}}}}
 
{{#vardefine:iaas | {{#expr:{{#var:iaas}}+1}}}}
 
}}
 
}}
{{#var:2ndhighfaction}}
+
2nd highest faction:{{#var:2ndhighfaction}}<br>
{{#var:highfaction}}
+
Highest faction: {{#var:highfaction}}
 
+
<pre>
+
Rules Minor Lead X, Major lead Y
+
+
Find highest number
+
+
Var:max=0
+
While arraycnt< cnt
+
Num=array(arraycnt)
+
If num>max
+
  max=num
+
+
The above variable max ends with the highest value. While doing the above can use an else to grab the not highest values. Into a new array and then do the same looping to find second highest so we end up with
+
+
Max = highest
+
Max2=2nd highest
+
+
Simple if check
+
+
Grab Max2 and add on either the minorlead or majorlead value then do simple if check
+
+
If Newmax2 > Max then planet is contested if not then planet belongs to max.
+
+
Then simply list all points for various factions.
+
+
</pre>
+
  
 
==junk 3==
 
==junk 3==

Revision as of 06:44, 5 September 2014

Template:Army/Preload Template:Preset Army Data Trial:Legio CIX Template:.IArmy/Preload

new Sirrob01

Value1:Sirrob01


DPL Fun












Expression error: Missing operand for >. 2nd highest faction:0@0
Highest faction: 0@0

junk 3

a:A, a, b, A

x:A, A
a:A, a, b, A






15


junk2

  • 0* 1* 2
→ yes

for(int i = 0; i < size; i++) with an if statement inside it, like this 1 2 if(num > largets) largest = num;

Legio Topper


Blanche DA.jpg
Legio I.png
Legio Nil.png
Legio Nil.png
Legio Nil.png
DA Legionary Primaris 2.jpg
Legio Nil.png
Legio I.png
Legio Nil.png
Hh da by warbringervi-dalm316.jpg
VolkTroop.png
Legio Nil.png
Legio I.png
Legio I.png
Legio Nil.png

Break

default Loyalist.png

Initial Array setup

apple@red, apple@green, green@apple, apple@red, apple@purple, purple@apple, apple@purple, apple@purple, apple@purple, apple@purple

apple@red, apple@green, green@apple, apple@purple, purple@apple





apple@red@2
apple@green@1
green@apple@1

unique list enemys

red, green, purple

Final Array

red@2@0$green@1@1$purple@5@1$

Final Output

red@2@0, green@1@1, purple@5@1,

apple fought
Combatants Won Lost
red 2 0
green 1 1
purple 5 1

Top Banner

Dark Angels White Scars Space Wolves Imperial Fists Blood Angels Iron Hands Ultramarines Salamanders Raven Guard Adeptus Mechanicus Emperor's Children Iron Warriors Night Lords World Eaters Death Guard Thousand Sons Sons of Horus Word Bearers Alpha Legion

Dark Angels
White Scars
Space Wolves
Imperial Fists
Blood Angels
Iron Hands
Ultramarines
Salamanders
Raven Guard
Adeptus Mechanicus
Emperor's Children
Iron Warriors
Night Lords
World Eaters
Death Guard
Thousand Sons
Sons of Horus
Word Bearers
Alpha Legion






Extension:DynamicPageList (DPL), version 2.3.0 : Warning: No results.







Sirrob01 Battle Major

Sirrob01 Battle Minor


________________________________

Extension:DynamicPageList (DPL), version 2.3.0 : Warning: Wrong 'mode' parameter: 'inline'! Using default: 'unordered'. Help: mode= none | ordered | unordered.