Difference between revisions of "FAQ: My Script Doesn't Work!"
Jump to navigation
Jump to search
FAQ: My Script Doesn't Work! (edit)
Revision as of 00:32, 22 February 2012
, 00:32, 22 February 2012Getting rid of unneeded "Self." syntax in a Papyrus snippet. Where does this habit come from?
imported>Jimhsu |
imported>Cipscis (Getting rid of unneeded "Self." syntax in a Papyrus snippet. Where does this habit come from?) |
||
Line 68: | Line 68: | ||
Try [[Cast Reference|casting]] the object reference that you're returning from the function. E.g. | Try [[Cast Reference|casting]] the object reference that you're returning from the function. E.g. | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
( | (GetLinkedRef() as Actor).IsInFaction(BanditFaction) | ||
</source> | </source> | ||