|
Cavestory Mod API
|
Event: Set camera details. More...
#include <GameDemo.h>
Public Attributes | |
| int | x |
| The X position of the camera. | |
| int | y |
| The Y position of the camera. | |
| int | target |
| The focus target for this camera. More... | |
| int | wait |
| Camera speed. | |
| int | quake |
| Quake amount. | |
| int | quake2 |
| Quake amount (2). | |
Event: Set camera details.
| int EVENT_SETCAMERA_STRUCT::target |
The focus target for this camera.
If this is between 0 and the number of players this demo has, then the camera should focus the specified player. If this is between NumOfPlayersThisDemoHas and NumOfPlayersThisDemoHas+NPC_MAX, then the camera should focus gNPC[camera.target - (1 + NumOfPlayersThisDemoHas)]. If this is between NumOfPlayersThisDemoHas+NPC_MAX and NumOfPlayersThisDemoHas+NPC_MAX+BOSS_MAX, then it's gBoss[camera.target - (1 + NPC_MAX + NumOfPlayersThisDemoHas)].