Jump to content

Script Help?


tnu

Recommended Posts

Make sure that the structure of the Begin/End blocks goes...

 

Begin

Do Stuff

End

 

Begin

Do Stuff

End, instead of something like...

 

Begin

Do Stuff

Begin

Do Stuff

End

End. AddSpell does work on Greater and Lesser powers, and incidentally Abilities and Diseases. In fact, they're all (including actual spells) subtypes of the Spell. To attach the script to your book, open up the book in the Object window and select your script from the drop-down box labeled "Script", just below the ID.

Link to comment
Share on other sites

scn ToasterSpellBookScript

 

Begin OnActivate

AddSpell 1toastcrybattle.

AddSpell 1toastmenuspell

AddSpell 1toastpowerofhate

AddSpell 1toastpowerofsharing

 

Begin OnEquip

AddSpell 1toastcrybattle

AddSpell 1toastmenuspell

AddSpell 1toastpowerofhate

AddSpell 1toastpowerofsharing

 

end

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...