Jump to content

OnPCDrop...


TDL_Guvie

Recommended Posts

TESCS give me this error on this script: "Syntax error line 9. Could not find Variable or Function "OnPCDrop." I know that it exists but, what am I doing wrong? Also, if there are any big errors in this script could someone tell me that to this is one of the few scripts i've wrote and none of them work exactly as planned. I'm trying though. ;)

 

begin masterswordfaith

 

if ( OnPCAdd )

player->AddSpell "_FAITHS_FIRE"

player->AddSpell "_FAITHS_BLESSING"

player->AddSpell "_FAITHS_SHIELD"

messagebox "You have obtained the Powers of the Sword of Faith. You are the Master of the Sword of Faith."

 

elseif ( OnPCDrop )

player->RemoveSpell "_FAITHS_FIRE"

player->RemoveSpell "_FAITHS_BLESSING"

player->RemoveSpell "_FAITHS_SHIELD"

messagebox "You have dropped the Sword of Faith. It's power begins to leave you. Find the sword and Regain your powers."

 

elseif ( OnActivate )

player->AddSpell "_FAITHS_FIRE"

player->AddSpell "_FAITHS_BLESSING"

player->AddSpell "_FAITHS_SHIELD"

messagebox "You have obtained the Powers of the Sword of Faith. You are the Master of the Sword of Faith."

endif

 

end masterswordfaith

Link to comment
Share on other sites

Thanks. One more thing though. I want to put my own landscape textures in the game. I made the texture in PSP7 and saved it as a .TGA file and put it in the morrowind/data files/ textures folder. Went to landscaping and then Add A Texture button. I entered the ID and added the texture file I made. TESCS told me that the Directory was Invalid. How to I make it work?
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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