TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ TurnPlayerToTheLeft()

void Terraria.Cinematics.DSTFilm.TurnPlayerToTheLeft ( FrameEventData evt)
inlineprivate

Definition at line 165 of file DSTFilm.cs.

166 {
167 //IL_001b: Unknown result type (might be due to invalid IL or missing references)
168 //IL_0020: Unknown result type (might be due to invalid IL or missing references)
169 Main.LocalPlayer.ChangeDir(-1);
170 _chester.velocity = new Vector2(-0.1f, 0f);
171 _chester.spriteDirection = (_chester.direction = -1);
172 _deerclops.ai[0] = 1f;
173 _deerclops.ai[1] = 0f;
175 }
void TargetClosest(bool faceTarget=true)
Definition NPC.cs:83247
float[] ai
An array with 4 slots used for any sort of data storage, which is occasionally synced from the server...
Definition NPC.cs:997

References Terraria.Cinematics.DSTFilm._deerclops, Terraria.NPC.ai, Terraria.Main.LocalPlayer, and Terraria.NPC.TargetClosest().

Referenced by Terraria.Cinematics.DSTFilm.BuildSequence().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: