Tuesday 4 September 2007

Item - create special item with script on activate

You would not believe how tortuous this process is!!!

In item properties, under cast spell in 'item properties' window, you put in 'unique power'.
NOTE!!! Choose your base object with care, as gem for instance does not have anything available in 'item properties' window!!
Then you create a new script - don't worry there is nowhere in the item properties to link this in, it is done otherwise.
Use the 'item activate' template, then write out what you want the script to do when the item is activated.
The name of the script has to be i_tagofitem_ac.
Now, whenever the item is used by the player, the script will execute.

===============================================================

Item Scripts
Use the following for item scripts:

i__ac
script to execute when item activated

i__aq
script to execute when item acquired

i__ua
script to execute when item unacquired

i__eq
script to execute when item equipped

i__ue
script to execute when item unequipped


The module events will be written to automatically execute the proper script.

1 comment:

Anonymous said...

Great goods from you, man. I have understand your stuff previous to and you are just too great.
I really like what you have acquired here, really like
what you are saying and the way in which you say it.
You make it entertaining and you still take care of to keep it wise.

I cant wait to read much more from you. This is really a terrific site.



Feel free to visit my homepage; bengali bridal makeup