Infectious Colthing

Post » Thu Aug 06, 2015 1:40 am

I am working on a project that ads a piece of clothing, I created a disease s in the CS and want to know how I can make this amulet have a 100% chance of infectiong the player with the disease when they equip it. I attached a script to it, but let's just be honest here I svck at making scripts and it didn't work. Can somebody help me with this please?

User avatar
Baby K(:
 
Posts: 3395
Joined: Thu Nov 09, 2006 9:07 pm

Post » Wed Aug 05, 2015 7:23 pm

short OnPCEquipif ( OnPCEquip )	Player->AddSpell "Disease_ID"	set OnPCEquip to 0endif

http://www.uesp.net/wiki/Tes3Mod:OnPCEquip
http://www.uesp.net/wiki/Tes3Mod:AddSpell

You should post questions like these in the TESCS forum though.

User avatar
Chloe Mayo
 
Posts: 3404
Joined: Wed Jun 21, 2006 11:59 pm

Post » Thu Aug 06, 2015 7:12 am

Oh I'm sorry.

User avatar
Liv Brown
 
Posts: 3358
Joined: Wed Jan 31, 2007 11:44 pm


Return to III - Morrowind