Stormscape Posted December 6, 2003 Share Posted December 6, 2003 I'm trying to make a script. I've made this armor I only want Wood Elfs tyo be able to wear, because for logical reasons, why would a piece of armor be able to be worn by people of massive size differences. Anyway, I'm stuck. I know the raceid numbers (10 = Woodelf is all I need to know) and a few other things but not enough to complete the script. Is there a if PCRace DOES NOT = 10 do this command? Link to comment Share on other sites More sharing options...
Marxist ßastard Posted December 6, 2003 Share Posted December 6, 2003 The operator for inequality is !=... Link to comment Share on other sites More sharing options...
draighox Posted December 8, 2003 Share Posted December 8, 2003 I have a questuon too. Is there something like GetPCClass or smth? Link to comment Share on other sites More sharing options...
Marxist ßastard Posted December 8, 2003 Share Posted December 8, 2003 Well, I believe that would be GetClass, but let me check... UESP is down!?!?!?!? NOOOOOOOOOOOOOOOOOOOOOOOOOO!! Link to comment Share on other sites More sharing options...
the00phoenix Posted December 10, 2003 Share Posted December 10, 2003 GhanBuriGhan's Scripting Guide taught me a lot. It covers all the functions and even corrects mistakes from the original TESCS help. For use as a tutorial and a reference work alike. ^_^ Greetz, the__phoenix Link to comment Share on other sites More sharing options...
Stormscape Posted December 12, 2003 Author Share Posted December 12, 2003 thanks phoenix and yes MB, it's been down about a week now. Link to comment Share on other sites More sharing options...
Greywolf Posted December 12, 2003 Share Posted December 12, 2003 There unfortunately is no GetClass function <_< However there is a GetRace function so ... begin Woodelfarmour short OnPCEquip If ( OnPCEquip == 1 )If ( player->GetRace "Wood Elf" != 1 )PCSkipEquipMessagebox, "Only Wood Elves can wear this armor!"endifendif end this goes on the armour ;) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.