Jump to content

Home

logan23

Members
  • Posts

    1235
  • Joined

  • Last visited

Personal Information

  • Location
    East Coast
  • Occupation
    Future Game Designer
  • Current Game
    Revenge of Revan
  • Web Browser
    Firefox
  • Favorite LucasArts Game
    Kotor1, Kotor2
  • Resolution
    800x600

logan23's Achievements

Newbie

Newbie (1/14)

10

Reputation

Single Status Update

See all updates by logan23

  1. Well I don't know about globals, but I know that GetSubRace(); will return the sub race of the creature (suprisingly.) After having a flick through the NWScript, and looking at creature templates, I see no reason why adding rows to subrace.2da and using GetSubRace(); to perform checks wouldn't work.

     

    It seems to me that GetSubRace(); returns the row index, starting at 0 for "None". Therefore, by adding say, the 4th row and labeling it "Rodian" or something; when you call GetSubRace(oCreature);, if the subrace of the creature is set to your new "Rodian" row, it will return 4.

    And apparently you can only have 1000 characters, so the rest will be in another post :p

×
×
  • Create New...