Jump to content

Leveled lists scripting?


Recommended Posts

i'm trying to make a function use a LeveledActor list but all i get is "mismatched input 'property' expecting FUNCTION" when trying to compile in the CK

Group LvlListsGlobals
  LeveledActor property LCharWorkshopNPC
  LeveledActor property LCharWorkshopNPCMale
  LeveledActor property LCharWorkshopNPCFemale

  LeveledActor property LCharWorkshopGuard
  LeveledActor property LCharWorkshopGuardMale
  LeveledActor property LCharWorkshopGuardFemale
EndGroup

how do i set this up?

Link to comment
Share on other sites

 

Put Auto after each property name. If you don't put Auto, the compiler expects you to define the Set or Get function for that property, thus the "expecting FUNCTION" error.

LeveledActor property LCharWorkshopNPC Auto

That worked. Can't believe i missed that. Thanks!

Link to comment
Share on other sites

  • Recently Browsing   0 members

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