Difference between revisions of "FAQ: My Script Doesn't Work!"

Jump to navigation Jump to search
5 bytes removed ,  00:32, 22 February 2012
Getting 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">
(self.GetLinkedRef() as Actor).IsInFaction(BanditFaction)
(GetLinkedRef() as Actor).IsInFaction(BanditFaction)
</source>
</source>


Anonymous user

Navigation menu