Home   Help Search Login Register  

Author Topic: Mando Sides Check (ACCEPTED)  (Read 3306 times)

0 Members and 1 Guest are viewing this topic.

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Mando Sides Check (ACCEPTED)
« on: 16 Mar 2008, 01:00:39 »
Fills a matrix of friendly status between all the sides. You may check the friendly status between a side and the rest at will.

Mando Sides Check
« Last Edit: 19 Aug 2009, 21:57:19 by hoz »

Offline Rommel92

  • Members
  • *
Re: Mando Sides Check (ACCEPTED)
« Reply #1 on: 30 Mar 2008, 01:51:42 »
What purpose would this serve other then for the Guerilla -> West/East side check? Unless i'm unaware you can get East West working happily.

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Mando Sides Check (ACCEPTED)
« Reply #2 on: 30 Mar 2008, 06:17:42 »
Yes, you can. Check setFriend command.

Offline FreeBird

  • Members
  • *
Re: Mando Sides Check (ACCEPTED)
« Reply #3 on: 02 Apr 2008, 22:57:45 »
Maybe skip the 4 lines "side friendly to same side",like Civ friendly to Civ etc...

Also you could give the friendly connections a blue color,the enemy ones a red colour,might make it easier to read?
Call [This,Birth,School,Work,Death]execVM "Storyofmylife.sqf"
(_this select 1)ObjStatus "DONE";(_this select 2)ObjStatus "DONE";(_this select 3)ObjStatus "ACTIVE";(_this select 4)ObjStatus "HIDDEN";
if not((_this select 0) IsKindOf "Human")ExitWith{PlayMusic"Goodbye Cruel World"}

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Mando Sides Check (ACCEPTED)
« Reply #4 on: 02 Apr 2008, 23:10:12 »
????

The example is just using a hint, the purpose is not to use any hint, dialogs, colors or whatever, but to check the alliance/enemy arrays when you need to check whether a side is friend or foe to another.