Jump to content

DOWNLOAD MODS

Are you looking for something shiny for your load order? We have many exclusive mods and resources you won't find anywhere else. Start your search now...

LEARN MODDING

Ready to try your hand at making your own mod creations? Visit the Enclave, the original ES/FO modding school, and learn the tricks of the trade from veteran modders...

JOIN THE ALLIANCE

Membership is free and registering unlocks image galleries, project hosting, live chat, unlimited downloads, & more...

script for killing anybody to upgrade ebony blade


Chaurusclaw92
 Share

Recommended Posts

i need help with coming with a script that is a magic effect for use with the ebony blade. it should change the target to the proper faction or relationship ranking allowing them to be killed for completion of the ebony blade quest. i cant for the life of me get used to the papyrus scripting format its just too far beyond my comprehension.

Link to comment
Share on other sites

There is a quest where you have to "collect blood" from various "races"

I can't recall what the quest is named, but might check to see if that might help with a starting template.

I'll see if I can find the script and post back later.

Edit:

Found the script

DA04BloodHarvestVictimScript

Here's a part of that script...


Event OnActivate(ObjectReference akActivator)

;/ 	DA04QuestScript da04script = ParentQuest as DA04QuestScript


	int response = HarvestMessage.Show()

	if (response == 0)

		ActorBase me = GetActorReference().GetLeveledActorBase()

		MiscObject bloodType = None

		if (me.GetRace() == da04script.Altmer)

			bloodType = da04script.AltmerBlood

		elseif (me.GetRace() == da04script.Bosmer)

			bloodType = da04script.BosmerBlood

		elseif (me.GetRace() == da04script.Dunmer)

			bloodType = da04script.DunmerBlood

		elseif (me.GetRace() == da04script.Falmer)

			bloodType = da04script.FalmerBlood

		elseif (me.GetRace() == da04script.Orsimer)

			bloodType = da04script.OrsimerBlood

		endif


		; Game.GetPlayer().AddItem(bloodType, 1)

		da04script.GotBlood(bloodType)


		GetOwningQuest().SetStage(100)

	endif /;

EndEvent

You should be able to modify this, and change the (among others) GetRace to somthing like GetFaction... however I can't seem to find anything for GetFaction unless I'm missing it, but searching CreationKit.com for "Faction" only finds 20-30 results and searching for "GetFaction" doesn't find anything.

I'll continue to look and if someone else knows please chime in :good:

Edited by DsoS
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...