| turn_to(name, target[, orient]) |
|
| Parameters: |
| name | | (string) name of the character |
| target | | (string) name of the object (can be a navpoint, or character, or other scripted object) |
| orient | | (boolean, optional) set to true to make the character face the same direction that the object is facing, or false to make the character face the object (defaults to false) |
| |
| Returns: |
| none |
|
| Description: |
| Make a character turn to face an object (or turn to face the same direction as the object). This function blocks until the character has finished turning. |
| |
|
| back to index | SR3 Script Action Documentation Last updated: Tue, 09 Aug 2011 11:32:16 |