Difference between revisions of "SetPlayerHasTaken - ObjectReference"
Jump to navigation
Jump to search
imported>Plplecuyer |
(No difference)
|
Revision as of 15:28, 2 December 2015
Member of: ObjectReference Script
Sets/clears the "player has taken" flag on this reference.
Syntax
Function SetPlayerHasTaken(bool abTaken = true)
Parameters
- abToken: True to set the flag, false to clear it
- Default: True
Return Value
None
Examples
; Flag this comic as the player having taken it already
GrognakComic.SetPlayerHasTaken()
; Clear the flag on the comic
GrognakComic.SetPlayerHasTaken(false)