forked from FAForever/fa
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProjectile.lua
More file actions
158 lines (126 loc) · 3.09 KB
/
Projectile.lua
File metadata and controls
158 lines (126 loc) · 3.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
--- Class Projectile
-- @classmod Sim.Projectile
---
-- Change the detonate below height for the projectile
function Projectile:ChangeDetonateBelowHeight()
end
---
-- Change the amount of zig zag in degrees per second
function Projectile:ChangeMaxZigZag()
end
---
-- Change the frequency of the zig zag --> min "0" (0 %), 0.5 (50%), max "1.0" (100%)
function Projectile:ChangeZigZagFrequency()
end
---
-- Projectile:CreateChildProjectile(blueprint)
function Projectile:CreateChildProjectile(blueprint)
end
---
-- Projectile:GetCurrentSpeed() -> val
function Projectile:GetCurrentSpeed()
end
---
-- Projectile:GetCurrentTargetPosition()
function Projectile:GetCurrentTargetPosition()
end
---
-- Get who launched this projectile
function Projectile:GetLauncher()
end
---
-- Projectile:GetTrackingTarget()
function Projectile:GetTrackingTarget()
end
---
-- Projectile:GetVelocity() -> x,y,z
function Projectile:GetVelocity()
end
---
-- Projectile:SetAcceleration(accel)
function Projectile:SetAcceleration(accel)
end
---
-- Wrong number of arguments to Projectile:SetAccelerationVector(), expected 1, 2, or 4 but got %d
function Projectile:SetBallisticAcceleration()
end
---
-- Projectile:SetCollideEntity(onoff)
function Projectile:SetCollideEntity(onoff)
end
---
-- Projectile:SetCollideSurface(onoff)
function Projectile:SetCollideSurface(onoff)
end
---
-- Projectile:SetCollision(onoff)
function Projectile:SetCollision(onoff)
end
---
-- Projectile:SetDamage(amount, radius) -- change how much damage this projectile will do. Either amount or radius can be nil to leave unchanged.
function Projectile:SetDamage(amount, radius)
end
---
-- Projectile:SetDestroyOnWater(flag)
function Projectile:SetDestroyOnWater(flag)
end
---
-- Projectile:SetLifetime(seconds)
function Projectile:SetLifetime(seconds)
end
---
-- Projectile:SetLocalAngularVelocity(x,y,z)
function Projectile:SetLocalAngularVelocity(x, y, z)
end
---
-- Projectile:SetMaxSpeed(speed)
function Projectile:SetMaxSpeed(speed)
end
---
-- Projectile:SetNewTarget(entity)
function Projectile:SetNewTarget(entity)
end
---
-- Projectile:SetNewTargetGround(location)
function Projectile:SetNewTargetGround(location)
end
---
-- Projectile:SetScaleVelocity(vs) or Projectile:SetScaleVelocity(vsx, vsy, vsz)
function Projectile:SetScaleVelocity(vs)
end
---
-- Projectile:SetStayUpright(truefalse)
function Projectile:SetStayUpright(truefalse)
end
---
-- Projectile:SetTurnRate(radians_per_second)
function Projectile:SetTurnRate(radians_per_second)
end
---
-- Projectile:SetVelocity(speed) or Projectile:SetVelocity(vx,vy,vz)
function Projectile:SetVelocity(speed)
end
---
-- Projectile:SetVelocityAlign(truefalse)
function Projectile:SetVelocityAlign(truefalse)
end
---
-- SetVelocityRandomUpVector(self)
function Projectile:SetVelocityRandomUpVector(self)
end
---
-- Projectile:StayUnderwater(onoff)
function Projectile:StayUnderwater(onoff)
end
---
-- Projectile:TrackTarget(onoff)
function Projectile:TrackTarget(onoff)
end
---
-- derived from Entity
function Projectile:base()
end
---
--
function Projectile:moho.projectile_methods()
end