Jump to content

is it possible to use an iterator on a faction ? and question about Arrays


Alaitur59

Recommended Posts

Hi,

I would like to list all members of a faction. I have no clue if that can be done straightforward.

 

OBSE has inventory reference ( http://obse.silverlock.org/obse_command_doc.html#Inventory_Reference ) I would like to use something similar for faction. I have no clue this is possible so far. For now I try, (it still not working yet), to use a container, adding an item inside the container with the ownership settled to the new member added to the faction and using inventory reference to get back references to all member added.

 

My frist try was to use arrays. OBSE Arrays seems to be tricky to use, I got several problems with some strange brackets error... the syntax used in OBSE is not well settled leading to errors or more common, I had to use some temporary variables wich means growing the number of operations like assigning or reading value...

 

And to finish, if I understood what I read, each array is limited to twenty members. My thought was to use array like a C-structure. If arrays can save twenty variables (value/string/ref)

One array could save 19 variables for one NPC, and using the 20-th to ref to another array who keeps 19 variables on another NPC and the 20-th to another array etc.

 

so it would be possible to pass each array like a linked listed trough the 20-th member of each array. But I have no idea how to create an array on the fly, I don't even think it's possible...

 

 

any idea, suggestion, etc. is welcome :D

 

EDIT :: my idea to use ownership won't work, since owner isn't a npc reference but a base npc

Edited by Alaitur59
Link to comment
Share on other sites

I dont think it is possible to get all faction members dynamically.

 

But you can get a list of all vanilla Factions and all vanilla NPCs and their Factions from the CS menu : File >> Export >> Form component data . . .

 

OBSE arrays are quite simple and straightforward, when you get the hang of it. Make sure you read Introduction to OBSE arrays

 

There is no limit to the number of entries in an OBSE array. I have a couple with more than 1,000 entries.

The limit only applies if you want to create an array with ar_map or ar_list. This is a limit of the compiler (max of 20 arguments in a function), not of the array engine.

 

You can hold you data in just one array. Something like this:

 

MyArray[<NPC1 name>][<Attribute 1>] = <value 1>

MyArray[<NPC1 name>][<Attribute 2>] = <value 2>

MyArray[<NPC2 name>][<Attribute 1>] = <value 3>

MyArray[<NPC2 name>][<Attribute 2>] = <value 4>

If it helps, this in a user function that returns an array with all vanilla factions (the key is the Faction EditorID and the value is its FormID)

 

 

 

scn zzzzzCreateFactionArray
;----------------------------------------------
; Returns a Stringmap array with all vanilla Factions
;----------------------------------------------
array_var asFaction 




Begin Function {}


let asFaction := ar_Construct stringmap 


let asFaction["AdrianDecaniusFaction"] := AdrianDecaniusFaction
let asFaction["AdventurerFaction"] := AdventurerFaction
let asFaction["AleswellFaction"] := AleswellFaction
let asFaction["AmantiusAllectusDoor"] := AmantiusAllectusDoor
let asFaction["AmantiusAllectusHouse"] := AmantiusAllectusHouse
let asFaction["AnvilBeggars"] := AnvilBeggars
let asFaction["AnvilCastleFaction"] := AnvilCastleFaction
let asFaction["AnvilFaction"] := AnvilFaction
let asFaction["AnvilGuards"] := AnvilGuards
let asFaction["AnvilHarborFaction"] := AnvilHarborFaction
let asFaction["AnvilSirens"] := AnvilSirens
let asFaction["AnvilStables"] := AnvilStables
let asFaction["AranoFamily"] := AranoFamily
let asFaction["ArcaneUniversity"] := ArcaneUniversity
let asFaction["Arena01"] := Arena01
let asFaction["ArenaChampionFaction"] := ArenaChampionFaction
let asFaction["ArenaCombatants"] := ArenaCombatants
let asFaction["ArenaFanFaction"] := ArenaFanFaction
let asFaction["ArenaHopefuls"] := ArenaHopefuls
let asFaction["ArenaICBloodworksDwellers"] := ArenaICBloodworksDwellers
let asFaction["ArenaICMonsters"] := ArenaICMonsters
let asFaction["ArenaPlayer"] := ArenaPlayer
let asFaction["ArenaSpectatorCombatants"] := ArenaSpectatorCombatants
let asFaction["ArenaYellowTeam"] := ArenaYellowTeam
let asFaction["ArenimFamily"] := ArenimFamily
let asFaction["AthramFamily"] := AthramFamily
let asFaction["AtiusFamily"] := AtiusFamily
let asFaction["AzaniBlackheartFACTION"] := AzaniBlackheartFACTION
let asFaction["BaenlinsFaction"] := BaenlinsFaction
let asFaction["BanditFaction"] := BanditFaction
let asFaction["Bantien"] := Bantien
let asFaction["Beggars"] := Beggars
let asFaction["BenirusFaction"] := BenirusFaction
let asFaction["BestDefenseFaction"] := BestDefenseFaction
let asFaction["BitandBridleFaction"] := BitandBridleFaction
let asFaction["BlackBowFaction"] := BlackBowFaction
let asFaction["BlackHorseCouriers"] := BlackHorseCouriers
let asFaction["BlackwoodCompanyFACTION"] := BlackwoodCompanyFACTION
let asFaction["BlackwoodHated"] := BlackwoodHated
let asFaction["Blades"] := Blades
let asFaction["BladesCG"] := BladesCG
let asFaction["BladesSparringFaction"] := BladesSparringFaction
let asFaction["BlankenmarchFACTION"] := BlankenmarchFACTION
let asFaction["BleakersWayFaction"] := BleakersWayFaction
let asFaction["BlockDetectionDialogue"] := BlockDetectionDialogue
let asFaction["BorderWatchFaction"] := BorderWatchFaction
let asFaction["BravilBeggars"] := BravilBeggars
let asFaction["BravilCastleFaction"] := BravilCastleFaction
let asFaction["BravilFaction"] := BravilFaction
let asFaction["BravilGuards"] := BravilGuards
let asFaction["BravilSkoomaDenFaction"] := BravilSkoomaDenFaction
let asFaction["BravilStables"] := BravilStables
let asFaction["BrindleHomeFACTION"] := BrindleHomeFACTION
let asFaction["BrolusFamilyFaction"] := BrolusFamilyFaction
let asFaction["BruiantFamilyFaction"] := BruiantFamilyFaction
let asFaction["BrumaBeggars"] := BrumaBeggars
let asFaction["BrumaCastleFaction"] := BrumaCastleFaction
let asFaction["BrumaFaction"] := BrumaFaction
let asFaction["BrumaGuardFaction"] := BrumaGuardFaction
let asFaction["BrumaStables"] := BrumaStables
let asFaction["BWCWatersEdgeFACTION"] := BWCWatersEdgeFACTION
let asFaction["CGCreatureFaction"] := CGCreatureFaction
let asFaction["CGDomesticRatFaction"] := CGDomesticRatFaction
let asFaction["CGGoblinFaction"] := CGGoblinFaction
let asFaction["ChestnutHandy"] := ChestnutHandy
let asFaction["CheydinhalBeggars"] := CheydinhalBeggars
let asFaction["CheydinhalBridgeInnFaction"] := CheydinhalBridgeInnFaction
let asFaction["CheydinhalCastleFaction"] := CheydinhalCastleFaction
let asFaction["CheydinhalCorruptGuardsFactionMS10"] := CheydinhalCorruptGuardsFactionMS10
let asFaction["CheydinhalFaction"] := CheydinhalFaction
let asFaction["CheydinhalGuardFaction"] := CheydinhalGuardFaction
let asFaction["CheydinhalStables"] := CheydinhalStables
let asFaction["ChorrolBeggars"] := ChorrolBeggars
let asFaction["ChorrolCastleFaction"] := ChorrolCastleFaction
let asFaction["ChorrolFaction"] := ChorrolFaction
let asFaction["ChorrolGuardFaction"] := ChorrolGuardFaction
let asFaction["ChorrolStables"] := ChorrolStables
let asFaction["ClarabellaPirates"] := ClarabellaPirates
let asFaction["ClaudeMaricFaction"] := ClaudeMaricFaction
let asFaction["ClaudeMaricThugFaction"] := ClaudeMaricThugFaction
let asFaction["ClaudisArcadiaFaction"] := ClaudisArcadiaFaction
let asFaction["ConjurerFaction"] := ConjurerFaction
let asFaction["CountsArmsFaction"] := CountsArmsFaction
let asFaction["CourierCustomers"] := CourierCustomers
let asFaction["CreatureFaction"] := CreatureFaction
let asFaction["CropsfordFaction"] := CropsfordFaction
let asFaction["DAAzuraFaction"] := DAAzuraFaction
let asFaction["DABoethiaFaction"] := DABoethiaFaction
let asFaction["DAClavicusVileFaction"] := DAClavicusVileFaction
let asFaction["DaedraFaction"] := DaedraFaction
let asFaction["DAGenericFaction"] := DAGenericFaction
let asFaction["DAHermaeusMoraFaction"] := DAHermaeusMoraFaction
let asFaction["DAHircineFaction"] := DAHircineFaction
let asFaction["DalviluFACTIONPeace"] := DalviluFACTIONPeace
let asFaction["DalviluFACTIONWar"] := DalviluFACTIONWar
let asFaction["DAMalacathFaction"] := DAMalacathFaction
let asFaction["DAMephalaFaction"] := DAMephalaFaction
let asFaction["DAMeridiaFaction"] := DAMeridiaFaction
let asFaction["DAMolagBalFaction"] := DAMolagBalFaction
let asFaction["DANamiraFaction"] := DANamiraFaction
let asFaction["DANocturnalFaction"] := DANocturnalFaction
let asFaction["DAPeryiteFaction"] := DAPeryiteFaction
let asFaction["DAPeryiteSouls"] := DAPeryiteSouls
let asFaction["Dark02Pirates"] := Dark02Pirates
let asFaction["Dark06HotelFaction"] := Dark06HotelFaction
let asFaction["Dark07Mercenaries"] := Dark07Mercenaries
let asFaction["Dark08WhodunitGuests"] := Dark08WhodunitGuests
let asFaction["DarkBlackHand"] := DarkBlackHand
let asFaction["DarkBrotherhood"] := DarkBrotherhood
let asFaction["DarkBrotherhoodElite"] := DarkBrotherhoodElite
let asFaction["DarkBrotherhoodNoGuard"] := DarkBrotherhoodNoGuard
let asFaction["DarkDislikePlayer"] := DarkDislikePlayer
let asFaction["DarkEvil"] := DarkEvil
let asFaction["DarkPlayaHata"] := DarkPlayaHata
let asFaction["DarkPlayer"] := DarkPlayer
let asFaction["DarkPurification"] := DarkPurification
let asFaction["DarkRitualFaction"] := DarkRitualFaction
let asFaction["DarkSancDwellers"] := DarkSancDwellers
let asFaction["DarkShadowmereFaction"] := DarkShadowmereFaction
let asFaction["DarkShuraviAndCaeliaFaction"] := DarkShuraviAndCaeliaFaction
let asFaction["DarkUnderling"] := DarkUnderling
let asFaction["DarkWrathFaction"] := DarkWrathFaction
let asFaction["DASanguineFaction"] := DASanguineFaction
let asFaction["DASanguineNakedFACTION"] := DASanguineNakedFACTION
let asFaction["DASheogorathFaction"] := DASheogorathFaction
let asFaction["DAUnicornFaction"] := DAUnicornFaction
let asFaction["DAVaerminaFaction"] := DAVaerminaFaction
let asFaction["DBNoGuards"] := DBNoGuards
let asFaction["DontonFaction"] := DontonFaction
let asFaction["DoranFamilyFaction"] := DoranFamilyFaction
let asFaction["DovynArenFaction"] := DovynArenFaction
let asFaction["DraconisFamilyFaction"] := DraconisFamilyFaction
let asFaction["DradFaction"] := DradFaction
let asFaction["DremoraFaction"] := DremoraFaction
let asFaction["DrofahrFaction"] := DrofahrFaction
let asFaction["DulgroShugFaction"] := DulgroShugFaction
let asFaction["E3ArcherFaction"] := E3ArcherFaction
let asFaction["E3DaedrothFaction"] := E3DaedrothFaction
let asFaction["E3HateLegion"] := E3HateLegion
let asFaction["EmperorFaction"] := EmperorFaction
let asFaction["EnilrothFaction"] := EnilrothFaction
let asFaction["EscapedPrisoner"] := EscapedPrisoner
let asFaction["EverscampFaction"] := EverscampFaction
let asFaction["EvilSolo"] := EvilSolo
let asFaction["FathisUlesFaction"] := FathisUlesFaction
let asFaction["FCG01MountainLionFACTION"] := FCG01MountainLionFACTION
let asFaction["Fences"] := Fences
let asFaction["FGC02ThiefFaction"] := FGC02ThiefFaction
let asFaction["FGC03HrotaThieves"] := FGC03HrotaThieves
let asFaction["FGC06GoblinFaction"] := FGC06GoblinFaction
let asFaction["FGC08Thieves"] := FGC08Thieves
let asFaction["FGC09LadyFaction"] := FGC09LadyFaction
let asFaction["FGC09OgreFaction"] := FGC09OgreFaction
let asFaction["FGD08Goblins"] := FGD08Goblins
let asFaction["FGDDrunks"] := FGDDrunks
let asFaction["FightersGuild"] := FightersGuild
let asFaction["FirstEditionFaction"] := FirstEditionFaction
let asFaction["FiveClawsLodgeFaction"] := FiveClawsLodgeFaction
let asFaction["FlowingBowlFaction"] := FlowingBowlFaction
let asFaction["FocsleFaction"] := FocsleFaction
let asFaction["ForgottenOnesFACTION"] := ForgottenOnesFACTION
let asFaction["FortNikelA"] := FortNikelA
let asFaction["FortNikelB"] := FortNikelB
let asFaction["FrancoisMotierreQuestFaction"] := FrancoisMotierreQuestFaction
let asFaction["GanredhelFaction"] := GanredhelFaction
let asFaction["GenericOwner"] := GenericOwner
let asFaction["GilenNorvaloHouse"] := GilenNorvaloHouse
let asFaction["GlarthirFaction"] := GlarthirFaction
let asFaction["GlarthirHatesUs"] := GlarthirHatesUs
let asFaction["GoblinTribeA"] := GoblinTribeA
let asFaction["GoblinTribeB"] := GoblinTribeB
let asFaction["GoblinTribeC"] := GoblinTribeC
let asFaction["GoblinTribeD"] := GoblinTribeD
let asFaction["GoblinTribeE"] := GoblinTribeE
let asFaction["GoblinTribeF"] := GoblinTribeF
let asFaction["GoblinTribeG"] := GoblinTribeG
let asFaction["GoganandMaelonaFaction"] := GoganandMaelonaFaction
let asFaction["GottlesfontFaction"] := GottlesfontFaction
let asFaction["GramangroMaradsHouse"] := GramangroMaradsHouse
let asFaction["HackdirtBrethren"] := HackdirtBrethren
let asFaction["HackdirtMonster"] := HackdirtMonster
let asFaction["HarlunsWatchFaction"] := HarlunsWatchFaction
let asFaction["HastrelOttusHouse"] := HastrelOttusHouse
let asFaction["HavilsteinFaction"] := HavilsteinFaction
let asFaction["HeinrichOakenHullFaction"] := HeinrichOakenHullFaction
let asFaction["HenantierFaction"] := HenantierFaction
let asFaction["HerminiaCinnaFaction"] := HerminiaCinnaFaction
let asFaction["HonmundFaction"] := HonmundFaction
let asFaction["HorsePC"] := HorsePC
let asFaction["ICBeggars"] := ICBeggars
let asFaction["ICElvenGardensHorse"] := ICElvenGardensHorse
let asFaction["ICFaction"] := ICFaction
let asFaction["ICNEStables"] := ICNEStables
let asFaction["ICPalaceFaction"] := ICPalaceFaction
let asFaction["ICSEStables"] := ICSEStables
let asFaction["ICTalosPlazaHorse"] := ICTalosPlazaHorse
let asFaction["ICTempleDistrictHorse"] := ICTempleDistrictHorse
let asFaction["ICWaterfrontResident"] := ICWaterfrontResident
let asFaction["ICWestStables"] := ICWestStables
let asFaction["IdaVlinormanFaction"] := IdaVlinormanFaction
let asFaction["ImperialLegion"] := ImperialLegion
let asFaction["ImperialLegionBattlemage"] := ImperialLegionBattlemage
let asFaction["ImperialLegionFriend"] := ImperialLegionFriend
let asFaction["ImperialLegionOutside"] := ImperialLegionOutside
let asFaction["ImperialTradingCo"] := ImperialTradingCo
let asFaction["ImperialWatch"] := ImperialWatch
let asFaction["InielSintavFaction"] := InielSintavFaction
let asFaction["InnIllOmenFaction"] := InnIllOmenFaction
let asFaction["InventiusFamily"] := InventiusFamily
let asFaction["IreneMetricFaction"] := IreneMetricFaction
let asFaction["ItiusHaynFriends"] := ItiusHaynFriends
let asFaction["Jailor"] := Jailor
let asFaction["JairFamily"] := JairFamily
let asFaction["JakbenFamily"] := JakbenFamily
let asFaction["JanusHassildorFaction"] := JanusHassildorFaction
let asFaction["JastiaSintavFaction"] := JastiaSintavFaction
let asFaction["JBariFaction"] := JBariFaction
let asFaction["JemaneFamilyFaction"] := JemaneFamilyFaction
let asFaction["JerallViewFaction"] := JerallViewFaction
let asFaction["JesanSextiusFaction"] := JesanSextiusFaction
let asFaction["KaltharPetFaction"] := KaltharPetFaction
let asFaction["KastusSintavFaction"] := KastusSintavFaction
let asFaction["KnightsThornFaction"] := KnightsThornFaction
let asFaction["KnightsWhiteStallion"] := KnightsWhiteStallion
let asFaction["KvatchChapelRefugees"] := KvatchChapelRefugees
let asFaction["KvatchCreatures"] := KvatchCreatures
let asFaction["KvatchFaction"] := KvatchFaction
let asFaction["KvatchGuards"] := KvatchGuards
let asFaction["KvinchalFamily"] := KvinchalFamily
let asFaction["LeyawiinBeggars"] := LeyawiinBeggars
let asFaction["LeyawiinBestGoodsAndGuaranteesFactions"] := LeyawiinBestGoodsAndGuaranteesFactions
let asFaction["LeyawiinCastleFaction"] := LeyawiinCastleFaction
let asFaction["LeyawiinFaction"] := LeyawiinFaction
let asFaction["LeyawiinGuards"] := LeyawiinGuards
let asFaction["LeyawiinNobleFaction"] := LeyawiinNobleFaction
let asFaction["LeyawiinStables"] := LeyawiinStables
let asFaction["LeyawiinTheDividingLineFaction"] := LeyawiinTheDividingLineFaction
let asFaction["LichFaction"] := LichFaction
let asFaction["LirrianFamilyFaction"] := LirrianFamilyFaction
let asFaction["LitteFamily"] := LitteFamily
let asFaction["LocheFaction"] := LocheFaction
let asFaction["LonelySuitorFaction"] := LonelySuitorFaction
let asFaction["LordDradFaction"] := LordDradFaction
let asFaction["LucienLachanceDungeon"] := LucienLachanceDungeon
let asFaction["LuronkFriends"] := LuronkFriends
let asFaction["LutherBroadBoardingHouseFaction"] := LutherBroadBoardingHouseFaction
let asFaction["LuturFarmSouthFaction"] := LuturFarmSouthFaction
let asFaction["LythandasFaction"] := LythandasFaction
let asFaction["MageConvGuild"] := MageConvGuild
let asFaction["MagesGuild"] := MagesGuild
let asFaction["MaheiFamilyFaction"] := MaheiFamilyFaction
let asFaction["MalacathOgreFaction"] := MalacathOgreFaction
let asFaction["ManheimRufioFaction"] := ManheimRufioFaction
let asFaction["MankarCamoranFaction"] := MankarCamoranFaction
let asFaction["MarauderFaction"] := MarauderFaction
let asFaction["MargarteFaction"] := MargarteFaction
let asFaction["MarillinFamily"] := MarillinFamily
let asFaction["MarinusCatiotusFaction"] := MarinusCatiotusFaction
let asFaction["MartinFaction"] := MartinFaction
let asFaction["MatthiasDraconisFaction"] := MatthiasDraconisFaction
let asFaction["MazogaFriend"] := MazogaFriend
let asFaction["MethredhelHouseFaction"] := MethredhelHouseFaction
let asFaction["MG12ZombieFaction"] := MG12ZombieFaction
let asFaction["MG13VampireHunters"] := MG13VampireHunters
let asFaction["MG16FortOntusMageFaction"] := MG16FortOntusMageFaction
let asFaction["MogensWindshifterFaction"] := MogensWindshifterFaction
let asFaction["MorvaynFaction"] := MorvaynFaction
let asFaction["MothCaretakers"] := MothCaretakers
let asFaction["MothPriests"] := MothPriests
let asFaction["MQ06MythicDawnShrineFaction"] := MQ06MythicDawnShrineFaction
let asFaction["MQ09BladesFaction"] := MQ09BladesFaction
let asFaction["MQ10AlliesFaction"] := MQ10AlliesFaction
let asFaction["MQ12Goblins"] := MQ12Goblins
let asFaction["MQ12Undead"] := MQ12Undead
let asFaction["MQ13BattleAllies"] := MQ13BattleAllies
let asFaction["MQ13DaedraFaction"] := MQ13DaedraFaction
let asFaction["MQ15EnemyFaction"] := MQ15EnemyFaction
let asFaction["MQ15GuardFaction"] := MQ15GuardFaction
let asFaction["MQ15ImmortalFaction"] := MQ15ImmortalFaction
let asFaction["MQ15KathutetFaction"] := MQ15KathutetFaction
let asFaction["MQ15MonsterFaction"] := MQ15MonsterFaction
let asFaction["MQ15MythicDawnFactionA"] := MQ15MythicDawnFactionA
let asFaction["MQ15MythicDawnFactionB"] := MQ15MythicDawnFactionB
let asFaction["MQ15MythicDawnFactionC"] := MQ15MythicDawnFactionC
let asFaction["MQ15PrisonerFaction"] := MQ15PrisonerFaction
let asFaction["MQ15WildlifeFaction"] := MQ15WildlifeFaction
let asFaction["MQ16AlliesFaction"] := MQ16AlliesFaction
let asFaction["MQ16DaedraFaction"] := MQ16DaedraFaction
let asFaction["MQEndFaction"] := MQEndFaction
let asFaction["MS08KurdanFaction"] := MS08KurdanFaction
let asFaction["MS09TyrelliusEvilFaction"] := MS09TyrelliusEvilFaction
let asFaction["MS12Deadite"] := MS12Deadite
let asFaction["MS13OblivionFriendsFaction"] := MS13OblivionFriendsFaction
let asFaction["MS22PCFriendFaction"] := MS22PCFriendFaction
let asFaction["MS27AlliesFaction"] := MS27AlliesFaction
let asFaction["MS29AgarmirFaction"] := MS29AgarmirFaction
let asFaction["MS31HatePlayer"] := MS31HatePlayer
let asFaction["MS45PrisonerFaction"] := MS45PrisonerFaction
let asFaction["MS47AncotarFaction"] := MS47AncotarFaction
let asFaction["MS47CreatureFaction"] := MS47CreatureFaction
let asFaction["MythicDawn"] := MythicDawn
let asFaction["MythicDawnAssassins"] := MythicDawnAssassins
let asFaction["MythicDawnCG"] := MythicDawnCG
let asFaction["MythicDawnCGAssassin"] := MythicDawnCGAssassin
let asFaction["MythicDawnPrisoner"] := MythicDawnPrisoner
let asFaction["NecromancerDungeon"] := NecromancerDungeon
let asFaction["NecromancerFaction"] := NecromancerFaction
let asFaction["NenalataFaction"] := NenalataFaction
let asFaction["NewheimFaction"] := NewheimFaction
let asFaction["NewlandsLodgeFaction"] := NewlandsLodgeFaction
let asFaction["NineDivines"] := NineDivines
let asFaction["Nobility"] := Nobility
let asFaction["NordWindsFaction"] := NordWindsFaction
let asFaction["NoWabbaFaction"] := NoWabbaFaction
let asFaction["OblivionCreatures"] := OblivionCreatures
let asFaction["OdiilFamily"] := OdiilFamily
let asFaction["OGSoldiers"] := OGSoldiers
let asFaction["OlavsTapFaction"] := OlavsTapFaction
let asFaction["OntusVaninFaction"] := OntusVaninFaction
let asFaction["OrderoftheVirtuousBlood"] := OrderoftheVirtuousBlood
let asFaction["OrumFaction"] := OrumFaction
let asFaction["OthrelosFaction"] := OthrelosFaction
let asFaction["PellsGateFACTION"] := PellsGateFACTION
let asFaction["PlayerFaction"] := PlayerFaction
let asFaction["PlayerVampireFaction"] := PlayerVampireFaction
let asFaction["PlotiusFamilyFaction"] := PlotiusFamilyFaction
let asFaction["Prey"] := Prey
let asFaction["Prisoners"] := Prisoners
let asFaction["RajiradhsPride"] := RajiradhsPride
let asFaction["RaynilFaction"] := RaynilFaction
let asFaction["RegnerFaction"] := RegnerFaction
let asFaction["RenrijraKrinFaction"] := RenrijraKrinFaction
let asFaction["RiverviewFaction"] := RiverviewFaction
let asFaction["RodericPierraneFaction"] := RodericPierraneFaction
let asFaction["RohssansFamily"] := RohssansFamily
let asFaction["RoxeyInnFaction"] := RoxeyInnFaction
let asFaction["SalomonGeonettesHouse"] := SalomonGeonettesHouse
let asFaction["SeedNeeusFamily"] := SeedNeeusFamily
let asFaction["SerethiSistersDislikeFaction"] := SerethiSistersDislikeFaction
let asFaction["SerethiSistersFaction"] := SerethiSistersFaction
let asFaction["SeridurEvilFaction"] := SeridurEvilFaction
let asFaction["SeridurHouseFaction"] := SeridurHouseFaction
let asFaction["SerpentsWakeFaction"] := SerpentsWakeFaction
let asFaction["SilverhomeFaction"] := SilverhomeFaction
let asFaction["SintavFamily"] := SintavFamily
let asFaction["SkingradBeggars"] := SkingradBeggars
let asFaction["SkingradCastleFaction"] := SkingradCastleFaction
let asFaction["SkingradFaction"] := SkingradFaction
let asFaction["SkingradGuardFaction"] := SkingradGuardFaction
let asFaction["SkingradStables"] := SkingradStables
let asFaction["SleepingMareFaction"] := SleepingMareFaction
let asFaction["StealthTestDudes"] := StealthTestDudes
let asFaction["SurilieBrothers"] := SurilieBrothers
let asFaction["SuriusAfraniusHouse"] := SuriusAfraniusHouse
let asFaction["TamikaWineryFaction"] := TamikaWineryFaction
let asFaction["TertiusFavoniusFaction"] := TertiusFavoniusFaction
let asFaction["ThamrielFaction"] := ThamrielFaction
let asFaction["TharronPetFaction"] := TharronPetFaction
let asFaction["TheAllSaintsInn"] := TheAllSaintsInn
let asFaction["TheBlackwoodCompany"] := TheBlackwoodCompany
let asFaction["ThievesGuild"] := ThievesGuild
let asFaction["ThreeBrothersFaction"] := ThreeBrothersFaction
let asFaction["ThreeSistersFaction"] := ThreeSistersFaction
let asFaction["TiberSeptimHotelFaction"] := TiberSeptimHotelFaction
let asFaction["TurilRoamingTraderFaction"] := TurilRoamingTraderFaction
let asFaction["TwoSisters"] := TwoSisters
let asFaction["UlfgarFACTIONPeace"] := UlfgarFACTIONPeace
let asFaction["UlfgarFACTIONWar"] := UlfgarFACTIONWar
let asFaction["UmbacanoFaction"] := UmbacanoFaction
let asFaction["UndeadFaction"] := UndeadFaction
let asFaction["ValenDrethFaction"] := ValenDrethFaction
let asFaction["VampireFaction"] := VampireFaction
let asFaction["VeyondCaveBandits"] := VeyondCaveBandits
let asFaction["WatersEdgeFaction"] := WatersEdgeFaction
let asFaction["WeebamNaFaction"] := WeebamNaFaction
let asFaction["WestWealdInn"] := WestWealdInn
let asFaction["WeynonPrioryFaction"] := WeynonPrioryFaction
let asFaction["WillowBankFaction"] := WillowBankFaction
let asFaction["WormAnchoriteFaction"] := WormAnchoriteFaction




SetFunctionValue asFaction 


end

 

 

 

Link to comment
Share on other sites

ok, I was trying to do something too complicated because I thought arrays were limited to 20. Without that limit, I guess that should solved a lot of problems here. I will try that now and will be back to put some feedbacks here.

 

thx QQuixx

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...