Jump to content

[Scripting] I seem to come across this a lot and need help. :P


Korodic

Recommended Posts

Try casting Objectrefence to Actor:

 

(self.GetLinkedRef() as Actor).IsInFaction(BanditFaction)

 

Yes, some of the stuff does take time to get used to. Programming experience and/or prior CS experience helps.

Edited by jimhsu
Link to comment
Share on other sites

If that is indeed your problem, I'll go ahead and post it in the common problems list. I'm basically in charge of that page myself and would appreciate contributions.

 

As far as experience, I learned the hard way when CK came out when designing my Trade Guild mod. I probably generated every possible error message while doing scripting for that mod (1000 lines and counting so far).

Edited by jimhsu
Link to comment
Share on other sites

  • Recently Browsing   0 members

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