Description | Returns the coordinates and heading of the entry (enex) marker the character used to get to the current interior.
If the character came from another interior, the entry marker in that interior will be returned, therefore the values returned cannot be trusted to teleport the character back outside if they're in an interior with an entry marker.
Due to a possible programming error by the Rockstar, the heading returned will be in radians. This causes a bug in the Burglary missions where if the player is in a house when daylight is reached, the player will be teleported out, but often facing the wrong direction.
Warning: The results of using this when the character is not in an interior is undefined. Always ensure the character is in an interior before using this command. |
---|
Parameters (v2) | 1) (Returned) X Coord (Float) (FLOAT) 2) (Returned) Y Coord (Float) (FLOAT) 3) (Returned) Z Coord (Float) (FLOAT) 4) (Returned) Angle (Float) (FLOAT)
|
---|
Games | |
---|
Category | |
---|
San Andreas |
---|
sascm.ini | 094C=5,get_position_of_entry_exit_char_used %1d% store_to %2d% %3d% %4d% heading_to %5d% |
---|
Example | 094C: get_position_of_entry_exit_char_used $PLAYER_ACTOR store_to 69@ 70@ 71@ heading_to 72@ |
---|
Command Name | GET_POSITION_OF_ENTRY_EXIT_CHAR_USED |
---|