SET CHAR AS MISSION CHAR
Jump to navigation
Jump to search
Number of parameters: 2 | ||
---|---|---|
Parameter # | Type | Description |
1. | integer | ped handle |
2. | boolean | true if mission char, false if not |
Return value: | ||
Type | Description | |
None |
Before you can use any other SET_CHAR_ functions on a char you didn't create, you have to set them as mission chars.
So, for instance, if you get a random ped using Template:GET RANDOM CHAR IN AREA OFFSET NO SAVE, you first need to set that ped as a mission char before you can change any of their other flags.
SET_CHAR_AS_MISSION_CHAR is essentially the opposite of Template:MARK CHAR AS NO LONGER NEEDED.