AI Fight

Miscellaneous Forums/Blitz Showcase/AI Fight

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

^^^ That's quite complicated really isn't it!

Ahh well!

If you want to increase the number of teams fighting...
	n\team = Rand(1,8)
	If n\team = 1 Then EntityColor n\mesh,255,150,0
	If n\team = 2 Then EntityColor n\mesh,0,150,255
	If n\team = 3 Then EntityColor n\mesh,255,150,255
	If n\team = 4 Then EntityColor n\mesh,150,255,150
	If n\team = 5 Then EntityColor n\mesh,255,255,0
	If n\team = 6 Then EntityColor n\mesh,255,0,0
	If n\team = 7 Then EntityColor n\mesh,0,0,255
	If n\team = 8 Then EntityColor n\mesh,0,255,255


If you want to increase the number of people in each fight...
For count = 1 To 50
	newfighter(Rand(50,150),Rand(50,150))
Next
Although if you create too many fighters it tends to get a little confused to say the least!