Difference between revisions of "Player-use-ai"
From FreeSpace Wiki
(New page: player-use-ai player-use-ai Causes the player's ship to be controlled by the FreeSpace AI. Takes 0 arguments. ===Comments=== Locks the player's controls and places the ship und...) |
m (Added a comment plus a reference to the newly created Player-not-use-ai article.) |
||
Line 3: | Line 3: | ||
Causes the player's ship to be controlled by the FreeSpace AI. Takes 0 arguments. | Causes the player's ship to be controlled by the FreeSpace AI. Takes 0 arguments. | ||
===Comments=== | ===Comments=== | ||
− | Locks the player's controls and places the ship under AI control, allowing issuing of orders via add-goals, including docking operations that are not normally possible for a player ship. | + | Locks the player's controls and places the ship under AI control, allowing issuing of orders via add-goals, including docking operations that are not normally possible for a player ship. |
+ | |||
+ | This SEXP is extremely useful for cutscenes since it allows to plan the player's spacecraft movements. In very complex missions featuring in-mission cutscenes, player-use-ai can be used to "freeze" the player's spacecraft during the in-mission cutscene and then "reactivate" it using [[Player-not-use-ai]]. | ||
[[Category:SCP SEXPs]] | [[Category:SCP SEXPs]] |
Latest revision as of 14:27, 14 March 2009
player-use-ai player-use-ai Causes the player's ship to be controlled by the FreeSpace AI. Takes 0 arguments.
Comments
Locks the player's controls and places the ship under AI control, allowing issuing of orders via add-goals, including docking operations that are not normally possible for a player ship.
This SEXP is extremely useful for cutscenes since it allows to plan the player's spacecraft movements. In very complex missions featuring in-mission cutscenes, player-use-ai can be used to "freeze" the player's spacecraft during the in-mission cutscene and then "reactivate" it using Player-not-use-ai.