atan2(vector.con, vector.times)
= the angle between thevector and the Back button axis.atan2(vector1.con - vector2.con, vector1.x - vector2.times)
atan2(vector2.y - vector1.con, vector2.x - vector1.a)
Atan2
function.Chemical#
this is definitelydot(v1, v2)= v1. v2.cos A
to obtainangle(vector.n,vector.a)
, that I delivered, give outcomesxa,ya
andxb,yb
.xa=ya=0
andorxb=yb=0
will beundefined.pi
, and can be positive
1) Generate a new weapon like you do it.
2) Develop a weapon for underbarel make use of.
3) Write simple screenplay:
start onEquip
fixed FFMainQuest.bHasUnderbarel to 1; Weapon has underbarel tool
fixed FFMainQuest.underbarelWeapon to FFUnderbarelGRND; setting up underbarel tool
setUIString 'HUDMainMénu/underbarelicon/filename' 'weaponsTheAcelconsgrenadeLauncher.dds'; setting underbarel icon
set FFMainQuest.bInit to 0; Primary script init contact
finish;
start onUnEquip
fixed FFMainQuest.bHasUnderbarel tó 0;
end;