-
Posts
559 -
Joined
-
Last visited
DarthStoney's Achievements
Newbie (1/14)
10
Reputation
Single Status Update
See all updates by DarthStoney
-
Not sure really,but I take it you want to do something like the Mandaloians sparring with each other on Dxun in the battle circle?
Those 2 scripts are k_fighter_ud (used defined)and k_fighter_os (spawnscript)
this is what they did for the onhearbeat part
int int1 = GetUserDefinedEventNumber();
if ((int1 == 1001)) {
if (((GetStandardFaction(OBJECT_SELF) == 22) && (!GetIsInCombat(OBJECT_SELF, 0)))) {
object oCircleMandalorian = GetObjectByTag("CircleMandalorian", 0);
object object3 = GetObjectByTag("CircleMandalorian", 1);
AssignCommand(oCircleMandalorian, ActionAttack(object3, 0));
AssignCommand(object3, ActionAttack(oCircleMandalorian, 0));
I guess the other thing could be to just set their factions to GIZKA_1 and GIZKA_2 and they'll fight each other also just enable min 1HP so they won't die.