Difference between revisions of "IsIntimidatedbyPlayer"

no edit summary
m
 
Line 1: Line 1:
This function returns 1 if it's run on an actor who [[SetIntimidated - Actor|has been intimidated by the player]], or 0 otherwise.
This function returns 1 if it's run on an actor who [[SetIntimidated - Actor|has been intimidated by the player]], or 0 otherwise.


The function works by checking an internal datestamp which indicates when the actor was marked as intimidated, comparing that datestamp to the current date.
The function works by checking an internal datestamp which indicates when the actor was marked as intimidated, comparing that datestamp to the current date. Tampering with the current date (i.e. by modifying the values of [[global]]s like GameYear) and rewinding to before an actor was intimidated may cause this condition to no longer recognize them as intimidated. (Using [[SetIntimidated - Actor|Actor.SetIntimidated]] would be a saner way to clear the "intimidated" flag.)


== See Also ==
== See Also ==
142

edits