Difference between revisions of "IsOffLimits"
Jump to navigation
Jump to search
→Notes: Updated
imported>Haama (→Notes: More notes) |
imported>Haama (→Notes: Updated) |
||
|
**In particular, to check whether it's illegal for the player, use '''7''' (player's base object ID).
*Objects that are owned by an evil faction may be counted as Off-Limits, even though they're OK to pick up.
**Fixed as of v0014a
*This is a condensation of this code
<pre>ref owner
endif
if (reqRank < 255)
if ( player.GetFactionRank owner >= reqRank ) || ( IsFactionEvil owner )
; it's legal for him to take this thing
return
| |||