Jump to content

Spawn a NPC?


Recommended Posts

quote : "Any way to delay charB from arriving at his new job? I mean charA dead body is still there and he already has took his job LOL"
>>> umm... this is difficult, like I said before. DYNAMIC NPC is the real big problem here,
usually they're not loaded in memory
that's what makes them so super special annoying case
also...
you mentioned merchant so
I have another suggestion, here's more better revision..
scn inkeeper1

short rent
short sleephour
short setup

ref rf1
ref rf2
array_var ar1

Begin GameMode
if rent
	if setup
		if GetPCMiscStat 20 != sleephour
			set rent to 0
			set setup to 0
			AnvilCountsArmsRentDoor.SetOpenState 0
			AnvilCountsArmsRentDoor.lock 30
			AnvilCountsArmsRentBed.SetOwnership
		endif
	else
		set sleephour to GetPCMiscStat 20
		set setup to 1
		AnvilCountsArmsRentDoor.unlock	
		AnvilCountsArmsRentBed.SetOwnership
	endif
endif
End

Begin OnDeath
	;Once character A dies, character B is spawned. I would like character b to spawn at a map marker at the entrance to town (anvil)
	Let rf1 := AnvilMapMarkerNEW.PlaceAtMe charB
	;merchant actor must provide merchant container to new guy/gal
	ForEach ar1 <- GetActorPackages
		Let rf2 := *ar1
		if GetPackageOffersServices rf2
			Let rf2 := GetMerchantContainer
			if rf2
				rf1.SetMerchantContainer rf2
			endif
			break
		endif
	loop
End

EDIT : script improved, more refined, & streamlined

Edited by lubronbrons
Link to comment
Share on other sites

hey Noxx

 

I think this could give delay before the successor appear & replacing the dead NPC's job

scn inkeeper1

short rent
short sleephour
short setup

ref successor
short flag

ref rf1
array_var ar1

Begin GameMode
if rent
	if setup
		if GetPCMiscStat 20 != sleephour
			set rent to 0
			set setup to 0
			AnvilCountsArmsRentDoor.SetOpenState 0
			AnvilCountsArmsRentDoor.lock 30
			AnvilCountsArmsRentBed.SetOwnership
		endif
	else
		set sleephour to GetPCMiscStat 20
		set setup to 1
		AnvilCountsArmsRentDoor.unlock	
		AnvilCountsArmsRentBed.SetOwnership
	endif
endif
if flag
	;after this dead body is aging more than reset hour, the charB got the action
	if GetTimeDead >= GetGameSetting iHoursToRespawnCell
		Let flag := 0
		Disable
		;I would like character b to spawn at a map marker at the entrance to town (anvil)
		successor.MoveTo AnvilMapMarkerNEW
	endif
endif
End

Begin OnDeath
	Let flag := 1
	;Once character A dies, character B is spawned
	Let successor := PlaceAtMe charB
	;merchant actor must provide merchant container to new guy/gal
	ForEach ar1 <- GetActorPackages
		Let rf1 := *ar1
		if GetPackageOffersServices rf1
			Let rf1 := GetMerchantContainer
			if rf1
				successor.SetMerchantContainer rf1
				break
			endif
		endif
	loop
	successor.Disable
End

EDIT 1 : after some thoughts...

if you use this script, then I think you need to edit each argonians one by one huh??

is that alright for you?

it could take forever you know... and the anti-argonian that hatred inside you will / may grow to the max while you doing that XD

I think this argonians hunter mod should use GetFirstRef instead,

rather than editing one by one each argonian in Oblivion...

 

EDIT 2 : Find : argonian. Found 111 records

XD
are you sure ? (below is ALL vanilla argonians NPC)

TESTArgonian "Tar-Meena" [NPC_:00132AEB]
HearsVoicesInTheAir "Hears-Voices-In-The-Air" [NPC_:000B1670]
SingsLikeThunder "Sings-Like-Thunder" [NPC_:000B166E]
ArenaHopeful2 "Saliith" [NPC_:000A713C]
Pajeen "Pajeen" [NPC_:000A3833]
DABoethiaChosen01 "Boethia's Chosen" [NPC_:000A2ADD]
HuntingTail "Hunting Tail" [NPC_:00098295]
BWCWatersEdge2 "Blackwood Company Guard" [NPC_:00098176]
BurMeema "Bur-Meema" [NPC_:0009786B]
MS93Crewmember1 "Dead Crewmember" [NPC_:00095A41]
XPEbroccaBody01 "Dead Courier" [NPC_:00082393]
SEPadEi "Pad-Ei" [NPC_:00078207]
DASkullArgonianFemale "Corrupted Clone" [NPC_:00073A30]
DASkullArgonianMale "Corrupted Clone" [NPC_:00073A2F]
ClarabellaPirate3 "Pirate" [NPC_:000738DE]
DeadBanditMale01 "Dead Bandit" [NPC_:00071717]
TestArgonianMale "TestArgonian" [NPC_:00062B9E]
SE09Victim04 "Victim" [NPC_:00054B41]
DeetumJa "Deetum-Ja" [NPC_:000514C5]
DarkPirate5 "Pirate" [NPC_:00049880]
CatFace "Cat-Face" [NPC_:000479F5]
BWCGuard2 "Blackwood Company Guard" [NPC_:0003FD72]
MG07MarauderMissileFemale1 "Marauder Archer" [NPC_:0003FB83]
GinWulm "Gin-Wulm" [NPC_:0003E92D]
ToothintheSea "Tooth-in-the-Sea" [NPC_:0003C165]
TestKenManArgonian "Ken's Tester Argonian for Christiane" [NPC_:0003A8E6]
MarauderMissileMale3B "Marauder Archer" [NPC_:00035FD4]
MarauderMissileFemale3A "Marauder Archer" [NPC_:00035FD2]
Skaleel "Skaleel" [NPC_:00035F43]
RightWind "Right-Wind" [NPC_:00035EC1]
JeetumZe "Jeetum-Ze" [NPC_:000356EC]
AjumKajin "Ajum-Kajin" [NPC_:000356CD]
Amusei "Amusei" [NPC_:0003563B]
DeadArgonianAgent "Dead Argonian Agent" [NPC_:0003558B]
ScarTail "Scar-Tail" [NPC_:0003558A]
TarMeena "Tar-Meena" [NPC_:00034EB2]
Otumeel "Otumeel" [NPC_:00034E88]
Bejeen "Bejeen" [NPC_:00034E84]
WeebumNa "Weebam-Na" [NPC_:00034E83]
Mahei "Mahei" [NPC_:00034E7F]
Numeen "Numeen" [NPC_:00034E7E]
Geel "Geel" [NPC_:00034E7D]
OleedEi "Oleed-Ei" [NPC_:00034E7C]
Rana "Rana" [NPC_:00034E7B]
DarJee "Dar Jee" [NPC_:00034E76]
TunZeeus "Tun-Zeeus" [NPC_:00034E69]
TestDremora "derek" [NPC_:000342C3]
OnStayaSundew "On-Staya Sundew" [NPC_:00033906]
Shaleez "Shaleez" [NPC_:0003018E]
JeeTah "Jee-Tah" [NPC_:0002FF2A]
Sakeepa "Sakeepa" [NPC_:0002F85F]
WeedumJa "Weedum-Ja" [NPC_:0002D6EE]
Deetsan "Deetsan" [NPC_:0002D021]
KudEi "Kud-Ei" [NPC_:0002CD1F]
Witseidutsei "Witseidutsei" [NPC_:0002C8D8]
Usheeja "Usheeja" [NPC_:0002B5EA]
ArenaRank0C "Yellow Team Pit Dog" [NPC_:0002A2B3]
ArenaRank5C "Yellow Team Gladiator" [NPC_:00029947]
ArenaRank5B "Yellow Team Gladiator" [NPC_:00029946]
ArenaRank5A "Yellow Team Gladiator" [NPC_:00029945]
Druja "Druja" [NPC_:000293EE]
AhMalz "Ah-Malz" [NPC_:000293D5]
HalLiurz "Hal-Liurz" [NPC_:00028FB0]
DarMa "Dar-Ma" [NPC_:000280C9]
Beewos "Beewos" [NPC_:00026ADA]
Jeelius "Jeelius" [NPC_:00024E0A]
MachNa "Mach-Na" [NPC_:00023FEA]
Teinaava "Teinaava" [NPC_:00023E34]
Teekeeus "Teekeeus" [NPC_:000234BC]
SeedNeeus "Seed-Neeus" [NPC_:000234B8]
HidesHisHeart "Hides-His-Heart" [NPC_:000234B3]
Ocheeva "Ocheeva" [NPC_:000224EC]
ErTeeusSOUL "Soul of Er-Teeus" [NPC_:0001ECB2]
ErTeeus "Er-Teeus" [NPC_:0001ECB1]
GeemJasaiin "Geem Jasaiin" [NPC_:0001EB82]
Wumeek "Wumeek" [NPC_:0001EB7F]
GreyThroat "Grey-Throat" [NPC_:0001D252]
DANamiraPriest1 "Priest of Arkay" [NPC_:0001CE9F]
SE02OrcAdventurer2 "Adventurer" [NPC_:00018FDA]
BeggarLeyawiinDeehTheScalawag "Deeh the Scalawag" [NPC_:00015D89]
SERunsInCircles "Runs-in-Circles" [NPC_:00015599]
SEBeelei "Beelei" [NPC_:00015595]
SEWideEye "Wide-Eye" [NPC_:00012109]
SETallTreesFalling "Tall-Trees-Falling" [NPC_:00012089]
SESheerMeedish "Sheer Meedish" [NPC_:00012088]
SERavenBiter "Raven Biter" [NPC_:00012086]
SEBigHead "Big Head" [NPC_:0001207D]
QuillWeave "Quill-Weave" [NPC_:0000A2A0]
HaulsRopesFaster "Hauls-Ropes-Faster" [NPC_:0000A297]
Reenum "Reenum" [NPC_:0000A112]
CitySwimmer "City-Swimmer" [NPC_:0000A109]
Marz "Marz" [NPC_:0000A08B]
DreetLai "Dreet-Lai" [NPC_:00009C3A]
VeyondArgMale4Assassin "Argonian Tribesman" [NPC_:00005571]
VeyondArgBossFemale2 "Argonian Chieftain" [NPC_:00005570]
VeyondArgBossFemale1 "Argonian Chieftain" [NPC_:0000556F]
VeyondArgBossMale2 "Argonian Chieftain" [NPC_:0000556E]
VeyondArgBossMale1 "Argonian Chieftain" [NPC_:0000556D]
VeyondArgShamanFemale3A "Argonian Shaman" [NPC_:0000556C]
VeyondArgShamanFemale4A "Argonian Shaman" [NPC_:0000556B]
VeyondArgShamanMale2 "Argonian Shaman" [NPC_:0000556A]
VeyondArgShamanMale3B "Argonian Shaman" [NPC_:00005569]
VeyondArgFemale4Scout "Argonian Tribesman" [NPC_:00005568]
VeyondArgFemale4Nightblade "Argonian Tribesman" [NPC_:00005567]
VeyondArgFemale3Monk "Argonian Tribesman" [NPC_:00005566]
VeyondArgFemale3Assassin "Argonian Tribesman" [NPC_:00005565]
VeyondArgFemale2Blademaster "Argonian Tribesman" [NPC_:00005564]
VeyondArgMale2Blademaster "Argonian Tribesman" [NPC_:00005563]
VeyondArgMale3Scout "Argonian Tribesman" [NPC_:00005562]
VeyondArgMale3Nightblade "Argonian Tribesman" [NPC_:00005561]
VeyondArgMale4Monk "Argonian Tribesman" [NPC_:00005560]

Edited by lubronbrons
Link to comment
Share on other sites

In case of a merchant a new merchant chest must be made, essentially copied and renamed and the owner changed and a few other things, pretty easy. In case of spell merchant its super easy just copy them and change race usually. The mod at this point is not even really a quest at all just a mod that allows you to kill all of a certain race that you don't like, without any real consequences. Whos to say it maybe argonians, orcs humans elves khajit any race I have not decided. I could make one mod for each LOL. I got the idea from ESO I don't know if you have played that but the wood elves really hate orcs and you can take either side but i chose the elves and ended up genociding the orcs from the wooded continent.

 

Having it not be an actual quest, only the useful merchant NPC's need be replaced ondeath, of which there are very few. But it is more generic, but way Easier.

 

A thought of mine was to create, somewhat like ESO, a small village like the size of hackdirt a ways away from anvil or whatever town. This small village, which is full of only wood elves say, and there is a leader of the town who will offer you a quest and reward if you exterminate all orcs in anvil, or something along those lines. But you are right every orc would need to be edited, and most of all, there is no good voice acting for the quest, making it lame. But the idea itself is not lame, its actually awesome I think, but would need a lot of work and most importantly voice acting that does not suck and fits with the rest of it. I had a thought yesterday that I could probably impersonate the imperial voice rather well but the other ones would be hard LOL. I think this is not realistic at this point so I am simply figuring out how to replace dead shop NPCs at this point. As of now its pretty fun, I'll try not to let the Anti-argonian hatred take over and turn my heart black with hate LOL

 

Ah, so I see you have changed the owner of the merchant container with a script, very nice. I had made a new container like a Noob

Link to comment
Share on other sites

hahaha

that crack me up

 

I agree

the idea has certain kind of fun element there, I never played ESO

my rig has very poor performance, so I can't mess up much with it

I have Skyrim but this machine-I-want-to-replace-when-I-have-money-immediately is my problem now

 

yups

with the new script you could skip the new container copy

and

I didn't test the script, just using my imagination... but I believe it should works with delayed execution (72 hours, if your cell reset game setting has default value)

Link to comment
Share on other sites

That script is impressive I think I understand it now after concentrating on it for 20 minutes wow.

 

ESO is pretty awesome until you hit the level cap. The quests are repetetive after a while, there are too many of them, and the areas are way too big. They changed it not long ago from set level enemies to the enemies scale level to you (just like oblivion!) which I think works in some games but not in a MMO. I havent played it since then. Its grindy to play alone, and irritating to play in groups, unless you find the perfect group, which is near impossible. I'm going to re-download it sometime but I just format my computer and don't want to download 100 GB. Yes it is really 100 GB it is huge.

 

Well if you get ESO let me know

Link to comment
Share on other sites

haha I think that script is not that impressive, since you need to edit each NPCs one by one, which is hassle

but as you mentioned, you only edit merchant

it should do & could achieve what you want

don't hesitate to ask, if you encounter issue with it. maybe I could still help with this limited skill of mine

anyway my weak point in modding is modeling thingy, that mesh texture & animation...so confusing

 

well...

I not a fan of online games in any kind,,,,,,, really any kind,

so I don't think I will ever play ESO

Link to comment
Share on other sites

did a quick lookup

I believe there is other NPCs that offer service / sell stuffs outside merchant class

but there you go~

here's a quick search list result ALL vanilla actors that has merchant class

click spoiler button

 

 

Found 127 records. Find : merc
Argonian "Argonian" [RACE:00023FE9] ::: DarJee "Dar Jee" [NPC_:00034E76]
Argonian "Argonian" [RACE:00023FE9] ::: MachNa "Mach-Na" [NPC_:00023FEA]
Argonian "Argonian" [RACE:00023FE9] ::: SERavenBiter "Raven Biter" [NPC_:00012086]
Argonian "Argonian" [RACE:00023FE9] ::: TunZeeus "Tun-Zeeus" [NPC_:00034E69]
Argonian "Argonian" [RACE:00023FE9] ::: Witseidutsei "Witseidutsei" [NPC_:0002C8D8]
Breton "Breton" [RACE:000224FC] ::: CandiceCorgine "Candice Corgine" [NPC_:000243C8]
Breton "Breton" [RACE:000224FC] ::: ChristopheMarane "Christophe Marane" [NPC_:0002DC04]
Breton "Breton" [RACE:000224FC] ::: ClaudettePerrick "Claudette Perrick" [NPC_:00015EAB]
Breton "Breton" [RACE:000224FC] ::: EdgarVautrine "Edgar Vautrine" [NPC_:00015E9D]
Breton "Breton" [RACE:000224FC] ::: ErnestManis "Ernest Manis" [NPC_:0001FDCF]
Breton "Breton" [RACE:000224FC] ::: EstelleRenoit "Estelle Renoit" [NPC_:000234B0]
Breton "Breton" [RACE:000224FC] ::: JulienneFanis "Julienne Fanis" [NPC_:00034EAF]
Breton "Breton" [RACE:000224FC] ::: LucianaGalena "Luciana Galena" [NPC_:0000A10A]
Breton "Breton" [RACE:000224FC] ::: NorbertLelles "Norbert Lelles" [NPC_:00035724]
Breton "Breton" [RACE:000224FC] ::: OgierGeorick "Ogier Georick" [NPC_:00015E9A]
Breton "Breton" [RACE:000224FC] ::: SESicklyBernice "Sickly Bernice" [NPC_:000155A1]
Breton "Breton" [RACE:000224FC] ::: SabineLaul "Sabine Laul" [NPC_:000234BD]
Breton "Breton" [RACE:000224FC] ::: ShadySam "Shady Sam" [NPC_:000C45B5]
DarkElf "Dark Elf" [RACE:000191C1] ::: AlvesUvenim "Alves Uvenim" [NPC_:0002D027]
DarkElf "Dark Elf" [RACE:000191C1] ::: AymarDouar "Aymar Douar" [NPC_:00026B7B]
DarkElf "Dark Elf" [RACE:000191C1] ::: DavelaHlaren "Davela Hlaren" [NPC_:0003AB4E]
DarkElf "Dark Elf" [RACE:000191C1] ::: DelosFandas "Delos Fandas" [NPC_:00015EA2]
DarkElf "Dark Elf" [RACE:000191C1] ::: DerveraRomalen "Dervera Romalen" [NPC_:000034C0]
DarkElf "Dark Elf" [RACE:000191C1] ::: DiramSerethi "Diram Serethi" [NPC_:0002F864]
DarkElf "Dark Elf" [RACE:000191C1] ::: FalanuHlaalu "Falanu Hlaalu" [NPC_:00028E73]
DarkElf "Dark Elf" [RACE:000191C1] ::: FathisUles "Fathis Ules" [NPC_:0002BA47]
DarkElf "Dark Elf" [RACE:000191C1] ::: FelenRelas "Felen Relas" [NPC_:0002D019]
DarkElf "Dark Elf" [RACE:000191C1] ::: SETilseAreleth "Tilse Areleth" [NPC_:0001208A]
DarkElf "Dark Elf" [RACE:000191C1] ::: TadroseHelas "Tadrose Helas" [NPC_:0000A096]
DarkElf "Dark Elf" [RACE:000191C1] ::: VarelMorvayn "Varel Morvayn" [NPC_:0000A283]
HighElf "High Elf" [RACE:00019204] ::: Angalmo "Angalmo" [NPC_:000234BB]
HighElf "High Elf" [RACE:00019204] ::: Ardaline "Ardaline" [NPC_:0002D01B]
HighElf "High Elf" [RACE:00019204] ::: Calindil "Calindil" [NPC_:00015EA9]
HighElf "High Elf" [RACE:00019204] ::: Eilonwy "Eilonwy" [NPC_:0002D023]
HighElf "High Elf" [RACE:00019204] ::: Gilgondorin "Gilgondorin" [NPC_:0000A084]
HighElf "High Elf" [RACE:00019204] ::: Karinnarre "Karinnarre" [NPC_:0003E188]
HighElf "High Elf" [RACE:00019204] ::: Nerussa "Nerussa" [NPC_:000BB9CB]
HighElf "High Elf" [RACE:00019204] ::: Ormil "Ormil" [NPC_:0000C1D4]
HighElf "High Elf" [RACE:00019204] ::: Palonirya "Palonirya" [NPC_:00015EA8]
HighElf "High Elf" [RACE:00019204] ::: SEEaril "Earil" [NPC_:0001559F]
HighElf "High Elf" [RACE:00019204] ::: SESontaire "Sontaire" [NPC_:0001559A]
HighElf "High Elf" [RACE:00019204] ::: Sinderion "Sinderion" [NPC_:0003E92B]
HighElf "High Elf" [RACE:00019204] ::: Suurootan "Suurootan" [NPC_:00035EB3]
HighElf "High Elf" [RACE:00019204] ::: TestPrinceHumperdinck "Prince Humperdinck" [NPC_:0002B7D2]
HighElf "High Elf" [RACE:00019204] ::: Ungarion "Ungarion" [NPC_:0000A088]
HighElf "High Elf" [RACE:00019204] ::: testHEMale "HEMale" [NPC_:000245A5]
Imperial "Imperial" [RACE:00000907] ::: AndreasDraconis "Andreas Draconis" [NPC_:00030FDB]
Imperial "Imperial" [RACE:00000907] ::: AugustaCalidia "Augusta Calidia" [NPC_:0002F874]
Imperial "Imperial" [RACE:00000907] ::: ErinaJeranus "Erina Jeranus" [NPC_:00028F90]
Imperial "Imperial" [RACE:00000907] ::: EtiraMoslin "Etira Moslin" [NPC_:000280C7]
Imperial "Imperial" [RACE:00000907] ::: LeyMarillin "Ley Marillin" [NPC_:00016053]
Imperial "Imperial" [RACE:00000907] ::: LutherBroad "Luther Broad" [NPC_:00023DE6]
Imperial "Imperial" [RACE:00000907] ::: MarianaAncharia "Mariana Ancharia" [NPC_:000034C2]
Imperial "Imperial" [RACE:00000907] ::: MaroRufus "Maro Rufus" [NPC_:00015EAC]
Imperial "Imperial" [RACE:00000907] ::: SE32Citizen01 "Vitharn Ghost Citizen" [NPC_:00062D10]
Imperial "Imperial" [RACE:00000907] ::: SE32Citizen03 "Vitharn Ghost Citizen" [NPC_:00062D0F]
Imperial "Imperial" [RACE:00000907] ::: SE32Reveler01 "Vitharn Ghost Reveler" [NPC_:00052F6F]
Imperial "Imperial" [RACE:00000907] ::: SE32Reveler02 "Vitharn Ghost Reveler" [NPC_:00052F70]
Imperial "Imperial" [RACE:00000907] ::: SE32Reveler04 "Vitharn Ghost Reveler" [NPC_:00052F72]
Imperial "Imperial" [RACE:00000907] ::: SE32Reveler06 "Vitharn Reveler" [NPC_:00052F74]
Imperial "Imperial" [RACE:00000907] ::: SE32Worshipper01 "Vitharn Ghost Citizen" [NPC_:000560D5]
Imperial "Imperial" [RACE:00000907] ::: SE32Worshipper02 "Vitharn Ghost Citizen" [NPC_:0005609D]
Imperial "Imperial" [RACE:00000907] ::: SelenaOrania "Selena Orania" [NPC_:0002D020]
Imperial "Imperial" [RACE:00000907] ::: SelenaOraniaDead "Selena Orania" [NPC_:0000A099]
Imperial "Imperial" [RACE:00000907] ::: SergiusVerus "Sergius Verus" [NPC_:00015EA6]
Imperial "Imperial" [RACE:00000907] ::: TertiaViducia "Tertia Viducia" [NPC_:000034C5]
Imperial "Imperial" [RACE:00000907] ::: TertullianVerus "Tertullian Verus" [NPC_:00015EA5]
Imperial "Imperial" [RACE:00000907] ::: TestDenyiir "Denyiir" [NPC_:00025266]
Imperial "Imperial" [RACE:00000907] ::: TestVendorNPC "Test Vendor NPC" [NPC_:0001E4EB]
Imperial "Imperial" [RACE:00000907] ::: VelusHosidius "Velus Hosidius" [NPC_:00015EAE]
Imperial "Imperial" [RACE:00000907] ::: ViatorAccius "Viator Accius" [NPC_:00015E9F]
Imperial "Imperial" [RACE:00000907] ::: VlanhonderMoslin "Vlanhonder Moslin" [NPC_:000280C8]
Khajiit "Khajiit" [RACE:000223C7] ::: Abhuki "Abhuki" [NPC_:000389B8]
Khajiit "Khajiit" [RACE:000223C7] ::: SEAhjazda "Ahjazda" [NPC_:000155A0]
Khajiit "Khajiit" [RACE:000223C7] ::: Sdrassa "S'drassa" [NPC_:0002D026]
Khajiit "Khajiit" [RACE:000223C7] ::: Shuravi "Shuravi" [NPC_:00034E65]
Khajiit "Khajiit" [RACE:000223C7] ::: Sthasa "S'thasa" [NPC_:000897E7]
Khajiit "Khajiit" [RACE:000223C7] ::: Talasma "Talasma" [NPC_:000234B4]
Nord "Nord" [RACE:000224FD] ::: AgnetethePickled "Agnete the Pickled" [NPC_:00028F9B]
Nord "Nord" [RACE:000224FD] ::: Emfrid "Emfrid" [NPC_:000234B7]
Nord "Nord" [RACE:000224FD] ::: Fjotreid "Fjotreid" [NPC_:00035EB6]
Nord "Nord" [RACE:000224FD] ::: Gunder "Gunder" [NPC_:00028F98]
Nord "Nord" [RACE:000224FD] ::: HafidHollowleg "Hafid Hollowleg" [NPC_:00035EB0]
Nord "Nord" [RACE:000224FD] ::: HamlofRedTooth "Hamlof Red-Tooth" [NPC_:00015EA0]
Nord "Nord" [RACE:000224FD] ::: Jensine "Jensine" [NPC_:00015EA4]
Nord "Nord" [RACE:000224FD] ::: Kirsten "Kirsten" [NPC_:0001ECD2]
Nord "Nord" [RACE:000224FD] ::: Malene "Malene" [NPC_:0003001C]
Nord "Nord" [RACE:000224FD] ::: ManheimMaulhand "Manheim Maulhand" [NPC_:000224EE]
Nord "Nord" [RACE:000224FD] ::: Margarte "Margarte" [NPC_:00034E81]
Nord "Nord" [RACE:000224FD] ::: Olav "Olav" [NPC_:00035EAC]
Nord "Nord" [RACE:000224FD] ::: Olfand "Olfand" [NPC_:00035EB5]
Nord "Nord" [RACE:000224FD] ::: OngartheWorldWeary "Ongar the World-Weary" [NPC_:00035ECA]
Nord "Nord" [RACE:000224FD] ::: SEHorkvirBearArmDementia "Horkvir Bear-Arm" [NPC_:00016569]
Nord "Nord" [RACE:000224FD] ::: SEHorkvirBearArmMania "Horkvir Bear-Arm" [NPC_:0001558F]
Nord "Nord" [RACE:000224FD] ::: Sigrid "Sigrid" [NPC_:0002D701]
Nord "Nord" [RACE:000224FD] ::: Skjorta "Skjorta" [NPC_:00035EB4]
Orc "Orc" [RACE:000191C0] ::: BatulgraSharob "Batul gra-Sharob" [NPC_:0002D6FB]
Orc "Orc" [RACE:000191C0] ::: BogrumGroGalash "Bogrum Gro-Galash" [NPC_:0000A082]
Orc "Orc" [RACE:000191C0] ::: BorbagraUzgash "Borba gra-Uzgash" [NPC_:000034C4]
Orc "Orc" [RACE:000191C0] ::: BugakgroBol "Bugak gro-Bol" [NPC_:00037C33]
Orc "Orc" [RACE:000191C0] ::: MagragroNaybek "Magra gro-Naybek" [NPC_:0003E190]
Orc "Orc" [RACE:000191C0] ::: MoggraMogakh "Mog gra-Mogakh" [NPC_:00028F8C]
Orc "Orc" [RACE:000191C0] ::: SEDumagGraBonk "Dumag gro-Bonk" [NPC_:0001559D]
Orc "Orc" [RACE:000191C0] ::: SEUshnarGroShadborgob "Ushnar gro-Shadborgob" [NPC_:0001559B]
Orc "Orc" [RACE:000191C0] ::: UrbulgroOrkulg "Urbul gro-Orkulg" [NPC_:00015EAA]
Redguard "Redguard" [RACE:00000D43] ::: Delmar "Delmar" [NPC_:00034EB4]
Redguard "Redguard" [RACE:00000D43] ::: Orrin "Orrin" [NPC_:0000A2A1]
Redguard "Redguard" [RACE:00000D43] ::: Phintias "Phintias" [NPC_:00015E9B]
Redguard "Redguard" [RACE:00000D43] ::: Rasheda "Rasheda" [NPC_:000234AF]
Redguard "Redguard" [RACE:00000D43] ::: Rohssan "Rohssan" [NPC_:0001C14C]
Redguard "Redguard" [RACE:00000D43] ::: Varnado "Varnado" [NPC_:00015EAD]
Redguard "Redguard" [RACE:00000D43] ::: Wilbur "Wilbur" [NPC_:0000A27E]
Redguard "Redguard" [RACE:00000D43] ::: Willet "Willet" [NPC_:0001D340]
WoodElf "Wood Elf" [RACE:000223C8] ::: Daenlin "Daenlin" [NPC_:0000A089]
WoodElf "Wood Elf" [RACE:000223C8] ::: Elsynia "Elsynia" [NPC_:0003E183]
WoodElf "Wood Elf" [RACE:000223C8] ::: Engorm "Engorm" [NPC_:0001C150]
WoodElf "Wood Elf" [RACE:000223C8] ::: Enilroth "Enilroth" [NPC_:00036307]
WoodElf "Wood Elf" [RACE:000223C8] ::: Foroch "Foroch" [NPC_:0003AB51]
WoodElf "Wood Elf" [RACE:000223C8] ::: Gundalas "Gundalas" [NPC_:00034E68]
WoodElf "Wood Elf" [RACE:000223C8] ::: Maenlorn "Maenlorn" [NPC_:0000A27C]
WoodElf "Wood Elf" [RACE:000223C8] ::: Nilawen "Nilawen" [NPC_:0000A087]
WoodElf "Wood Elf" [RACE:000223C8] ::: Nordinor "Nordinor" [NPC_:0003E17E]
WoodElf "Wood Elf" [RACE:000223C8] ::: Rindir "Rindir" [NPC_:00015E9C]
WoodElf "Wood Elf" [RACE:000223C8] ::: SECutter "Cutter" [NPC_:0001207E]
WoodElf "Wood Elf" [RACE:000223C8] ::: SEDredhwen "Dredhwen" [NPC_:00011F9F]
WoodElf "Wood Elf" [RACE:000223C8] ::: SEDredhwenOrdered "Dredhwen" [NPC_:0005FA44]
WoodElf "Wood Elf" [RACE:000223C8] ::: Thoronir "Thoronir" [NPC_:00015E9E]

 

 

Link to comment
Share on other sites

Its super funny to cast frenzy on the merchant, have him chase you out into the street, where he gets attacked by everyone, at certain point he tries to run away (with sound effects LOL) but does not make it too far as the he takes an arrow to the knee from one guard and gets chopped down by another guard near the temple. And then have his replacement walk right through the gate and take his job it is too funny, it just never gets old for me

 

I think I will not have a delay because it would make it less funny. I am going to try out that chest ownership script that you wrote but I don't understand it 100% however that is not really required is it, but I would like to understand it better so I will look up the functions on CS wiki page.

 

I am working on a script now. do you know how to set the owner of the calling script to a reference. so here is my ondeath script so far. as you can see i simply need to call the owner of the script's reference but I dont know the command. thanks =)

 

;;;;;;;;;;;;;;;;;;;;;;;
ref owner
ref successor
ref merchantchest
;array_var ar1


Begin OnDeath
Let owner :=
Let successor := aaWilbur ;charB (change successor name here)
;Once owner dies, successor is spawned. successor to spawn at a map marker at the entrance to town
AnvilMapMarkerNEW.PlaceAtMe successor ;(change map marker here)

;merchant actor (owner) must provide merchant container to successor NPC

if GetPackageOffersServices owner
Let merchantchest := owner.GetMerchantContainer
merchantchest.SetOwnership successor
endif

End

 

 

 

also Im not sure if I used the getmerchantcontainer command correctly. thx

Edited by masternoxx
Link to comment
Share on other sites

  • Recently Browsing   0 members

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