Difference between revisions of "IsPlayerInRegion"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>SJML Bot
(Bot creating condition functions pages.)
 
imported>DavidJCobb
(command's functionality verified through disassembly)
 
Line 1: Line 1:
This condition takes a [[region]] as an argument. It queries the player's parent [[cell]], and then checks to see whether the list of regions that the cell belongs to contains the argument. If so, the condition returns 1.0; otherwise, it returns 0.0.


Exact region boundaries (e.g. for regions that partially cut through a cell, like border regions) are not checked.


[[Category:Condition Functions]]
[[Category:Condition Functions]]

Latest revision as of 09:51, 23 July 2018

This condition takes a region as an argument. It queries the player's parent cell, and then checks to see whether the list of regions that the cell belongs to contains the argument. If so, the condition returns 1.0; otherwise, it returns 0.0.

Exact region boundaries (e.g. for regions that partially cut through a cell, like border regions) are not checked.