Jump to content

requesting a script


darkx34

Recommended Posts

uhmm yes i was wondering if anyone out there (who knows how to script) could write a script for me that i can put on to wepons/armor that makes them only usable by certain birthsigns (players born under these birth signs) can anyone help me? PM me if your interested
Link to comment
Share on other sites

Put in the ID as show in CS at BirthsignID, for the birthsign of course and at ItemID the BasicID for the armor/weapon.

As set now it'll unequip the armor and give a message.

 

 

scn birthsignscript

ref TempRef

Begin OnEquip
if getPBS BirthsignID == 0
	message "You aren't born under the right birthsign to equip this armor/weapon."
	set tempRef to GetContainer
	TempRef.unequipitem ItemID 1
elseif getPBS BirthsignID == 1
	return
endif
End

 

Link to comment
Share on other sites

I really like this idea, however the script doesn't compile for me. It says that "Item BirthsignID not found for paramater birthsign" so I'm thinking of setting a variable to player's birthsign, then forcing a check for that. The majority of the script itself is very useful. Thanks again Pronam
Link to comment
Share on other sites

  • 3 months later...
and this mod is a quest mod (sadly it will probably first come out as frre form because im not yet expirienced enough to script out the actual quest :( ..) if anyones interested please contact
Link to comment
Share on other sites

  • Recently Browsing   0 members

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