The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 871 - File: showthread.php PHP 7.4.33 (Linux)
File Line Function
/showthread.php 871 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to count for new sides?
#1
Lets look at an AI trigger

Quote:NAME0001-G=AI Trigger,XXXXXXXX-G,YuriCountry,10,1,YACNST,0000000002000000000000000000000000000000000000000000000000000000,70.000000,60.000000,70.000000,1,0,3,0,<none>,1,1,1

The red number, that means number side. In original game, Allied is 1, Soviet 2 and Yuri is 3.
But when adding new sides, this counting get wierd.

From my mod:

Quote:[Sides]
GDI=British,French,Germans,Americans,GDI;1
Nod=Russians,Africans,Arabs,Latin,Nod;2
GLA=GLA;3
Robot=Robot;4
ThirdSide=YuriCountry,Confederation;5

So in my mod, ThirdSide is at position 5, but when I change the red number to 5 for my Yuri AI, they wont use it. But if I set it to 3(which they dont are), they will attack. So how do this counting work?
Java student.
Reply


Messages In This Thread
How to count for new sides? - by ¥R M0dd€r - 01.09.2011, 22:16:09



Users browsing this thread: 1 Guest(s)