1,482
edits
GrandBulwark (talk | contribs) (added usage notes) |
m (Convert source tags to syntaxhighlight) |
||
| Line 6: | Line 6: | ||
== Syntax == | == Syntax == | ||
< | <syntaxhighlight lang="papyrus"> | ||
bool Function TryToAddToFaction(Faction FactionToAddTo) | bool Function TryToAddToFaction(Faction FactionToAddTo) | ||
Actor ActorRef = GetActorReference() | Actor ActorRef = GetActorReference() | ||
| Line 15: | Line 15: | ||
Return False | Return False | ||
EndFunction | EndFunction | ||
</ | </syntaxhighlight> | ||
== Parameters == | == Parameters == | ||
| Line 31: | Line 31: | ||
== Examples == | == Examples == | ||
< | <syntaxhighlight lang="papyrus"> | ||
; Try to add the boss to the bandit faction | ; Try to add the boss to the bandit faction | ||
BossAlias.TryToAddToFaction(BanditFaction) | BossAlias.TryToAddToFaction(BanditFaction) | ||
</ | </syntaxhighlight> | ||
== See Also == | == See Also == | ||