Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_BIKIBulletHelper.c
Go to the documentation of this file.
2{
3 //------------------------------------------------------------------------------------------------
6 static float GetInitialSpeed(notnull BaseContainer bulletContainer)
7 {
8 IEntityComponentSource shellMoveComponentSource = SCR_BaseContainerTools.FindComponentSource(bulletContainer, ShellMoveComponent);
9 if (!shellMoveComponentSource)
10 return 0;
11
12 float result;
13 shellMoveComponentSource.Get("InitSpeed", result);
14 return result;
15 }
16}