Staredit Network

Staredit Network -> UMS Assistance -> Help with finishing
Report, edit, etc...Posted by Oo.Insane.oO on 2006-02-20 at 17:15:05
I am making a connect 4 game and I was wondering how you make the winning trigger (when you get 4 in a row)

Please Help

Edited for better understanding...I hope
Report, edit, etc...Posted by Zombie on 2006-02-20 at 17:30:29
Is that english?
Report, edit, etc...Posted by A_of_s_t on 2006-02-20 at 17:39:16
Hmmm... Not PROPPER english, but...
Use the grid system in the tutorials and put a bunch of triggers so that anyway u have 4 in a row, u win, gawd...
Report, edit, etc...Posted by Oo.Insane.oO on 2006-02-20 at 18:18:46
QUOTE(A_of_s_t @ Feb 20 2006, 05:39 PM)
Hmmm... Not PROPPER english, but...
Use the grid system in the tutorials and put a bunch of triggers so that anyway u have 4 in a row, u win, gawd...
[right][snapback]431512[/snapback][/right]


So I gotta trigger every possible way there isnt an easier way? the grid wont work because I need 4
Report, edit, etc...Posted by SkuLL on 2006-02-20 at 19:00:37
I'm not sure but I think you'll need for every possible way.
Report, edit, etc...Posted by Kumano on 2006-02-20 at 19:22:14
Using about 10 locations and being creative with centering locations on units and giving them to different players and stuff with mobile grid, this should be possible. I would make the location center on 1 of the pieces, and have the locations center around it. Two of the locations are vertical and horizontal, and only 4 pieces would fit in each of them, so if there are 4 in those locations you would win. Then for the diagonals the mobile grid comes in, and you have one location on the piece, one up-right from it, one down-right from it and one even more down-right from it. The other diagonal would basically be the same thing with the other 4 locations.

After all that, you give the piece to a different player (p12 maybe?) and then have the trigger use preserve trigger so it goes to the next piece. The diagonals won't need to move more than once for each piece assuming it would be on the edge or something, because afterwards it would check a different piece that would set it off.
Report, edit, etc...Posted by nimadude on 2006-02-20 at 19:41:06
Take a look at my chess map.. the method I use should work for you.. it uses mobile grid. I cannot give you the unprotected version sorry.
Report, edit, etc...Posted by Oo.Insane.oO on 2006-02-20 at 23:02:10
aww this sucks that the grid would work I already did like half of the every ways possible thing so I guess ill just keep with that

Thanks tho

Next Page (1)