adding item/spell to inventory right when you load/start obl

Post » Mon Nov 08, 2010 10:11 am

Hey, i've never really studied scripting, and i was wondering how would i add an item or spell to your inventory right when you load/start oblivion. Thanks in advance.
User avatar
Suzie Dalziel
 
Posts: 3443
Joined: Thu Jun 15, 2006 8:19 pm

Post » Mon Nov 08, 2010 11:38 am

Easiest way is to create a quest and attach a script to it. Make sure the quest it set to start game enabled the use a script like this...

scn MyQuestScriptshort onceBegin GameModeif once == 0   player.additem MyItem 1   player.addspell MySpell   set once to 1   stopquest MyQuestendifEnd


Create the quest first then close the quest window. Then make the script and save it as a quest script. After that you can open the quest back up and select the script. Substitute your item/spell/quest names where I put myitem etc...
User avatar
BrEezy Baby
 
Posts: 3478
Joined: Sun Mar 11, 2007 4:22 am

Post » Mon Nov 08, 2010 2:53 pm

Easiest way is to create a quest and attach a script to it. Make sure the quest it set to start game enabled the use a script like this...

scn MyQuestScriptshort onceBegin GameModeif once == 0   player.additem MyItem 1   player.addspell MySpell   set once to 1   stopquest MyQuestendifEnd


Create the quest first then close the quest window. Then make the script and save it as a quest script. After that you can open the quest back up and select the script. Substitute your item/spell/quest names where I put myitem etc...


Thanks!
User avatar
Juan Suarez
 
Posts: 3395
Joined: Sun Nov 25, 2007 4:09 am

Post » Mon Nov 08, 2010 11:35 pm

Someones alrady done it :)
User avatar
Nicole Elocin
 
Posts: 3390
Joined: Sun Apr 15, 2007 9:12 am


Return to IV - Oblivion