Difference between revisions of "Reference functions"
Jump to navigation
Jump to search
m
None
imported>Cipscis m (Fixed code formatting) |
imported>Henning m (None) |
||
Line 3: | Line 3: | ||
GetFactionRelation player | GetFactionRelation player | ||
GetFactionRelation is a reference function -- whose faction relation are you asking for? In this case, since we did not specify a reference, it is implied that we are really saying: | GetFactionRelation is a reference function -- whose faction relation are you asking for? In this <span class="plainlinks">[http://tinyurl.com/6a83yjx <span style="color:black;font-weight:normal;text-decoration:none!important;background:none!important; text-decoration:none;">stretch marks</span>]</span> case, since we did not specify a reference, it is implied that we are really saying: | ||
thisReference.GetFactionRelation player | thisReference.GetFactionRelation player |