Korodic Posted February 21, 2012 Author Share Posted February 21, 2012 Does anyone know how to make that line generic to reflect linked ref's instead of specific actor ref's? Link to comment Share on other sites More sharing options...
PaladinRider Posted February 21, 2012 Share Posted February 21, 2012 I think you have to make an alias (to linked ref) and use an AliasReference.. not sure though I haven't done this. Link to comment Share on other sites More sharing options...
Korodic Posted February 21, 2012 Author Share Posted February 21, 2012 ewwwwwww I don't want to touch aliases, the beth tutorial confused me >.> so much content on creationkit.com with no sustenance. Link to comment Share on other sites More sharing options...
jimhsu Posted February 22, 2012 Share Posted February 22, 2012 (edited) 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 February 22, 2012 by jimhsu Link to comment Share on other sites More sharing options...
Korodic Posted February 22, 2012 Author Share Posted February 22, 2012 I have experience, I just never thought of casting it O.o Link to comment Share on other sites More sharing options...
jimhsu Posted February 22, 2012 Share Posted February 22, 2012 (edited) 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 February 22, 2012 by jimhsu Link to comment Share on other sites More sharing options...
Korodic Posted February 22, 2012 Author Share Posted February 22, 2012 I'll test it tonight or tomorrow got class early and im doing a paper now, so just subscribe to the thread, cause I'll post up if it works :) Link to comment Share on other sites More sharing options...
Recommended Posts