Staredit Network

Staredit Network -> StarForge -> Run-time error "9"
Report, edit, etc...Posted by mutalisk46802 on 2006-06-20 at 10:21:51
Im making this map that ive just started doing triggers for it because I was spending time doing the terrain and I went to go do a trigger for the randomization factor in my map, and when I hit ok it just said " run time erro "9" " and "subscript out of range" this is the exact trigger
Players:
Player 1
Conditions:
Always();
Actions:
SetSwitch(Switch 1,Clear);
Wait(1);
SetSwitch(Switch 1,Set);
Wait(1);
SetSwitch(Switch 2,Clear);
Wait(1);
SetSwitch(Switch 2,Set);
Wait(1);
SetSwitch(Switch 3,Clear);
Wait(1);
SetSwitch(Switch 3,Set);
Wait(1);
SetSwitch(Switch 4,Clear);
Wait(1);
SetSwitch(Switch 4,Set);
Wait(1);
SetSwitch(Switch 5,Clear);
Wait(1);
SetSwitch(Switch 5,Set);
Wait(1);
SetSwitch(Switch 6,Clear);
Wait(1);
SetSwitch(Switch 6,Set);
Wait(1);
Preserve Trigger();
Comment("randomization");

Player one is on force one and he is a human, but ive also tried giving the trigger to player two who is on force 2 and is a comp... Both players have start locations and appear in game, why does Starforge crash and i get that error message???
Report, edit, etc...Posted by Noober on 2006-06-20 at 12:08:13
This doesn't answer your question, but how is that randomization? At the end of the trigger cycle, all of those switches will be set.
Report, edit, etc...Posted by mutalisk46802 on 2006-06-20 at 19:41:21
Its randomization of 6 numbers.Heres another Trigger
Players 1-8
Conditions:
Current Player brings exactly 1 terran civilian to "beacon"
Switch 1 is cleared
Actions:
Give 1 terran marine to Current Player
Move 1 terran civilian owned by Current Player at "beacon" to "civ return"
--Thats the trigger for getting a 1
Players 1-8
Conditions:
Current Player brings exactly 1 terran civilian to "beacon"
Switch 2 is cleared
Actions:
Give 2 terran marine to Current Player
Move 1 terran civilian owned by Current Player at "beacon" to "civ return"

--Thats the trigger for getting a 2
And since the switches are being set, then cleared one by one extremely fast, its randomization and only one switch is cleared at any given time, if perhaps switch 3 is cleared, then all other switches WILL BE set. Also if the player brings the civ to the beacon in the middle of 2 switches, the trigger wll keep going until a switch is cleared. Get it?
Report, edit, etc...Posted by -bilal92- on 2006-06-27 at 12:47:39
what i dont get, is people always say starforge crashes what even does it?
Next Page (1)