-
Notifications
You must be signed in to change notification settings - Fork 740
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zero divisor when advance throwing Chemlight (IR) #5207
Comments
This was introduced in #5052 it seems. |
So CBA_fnc_addeventhandler is taking code as its second parameter. Should it then be: _this call FUNC(throwFiredXEH) or just call FUNC(throwFiredXEH)? Because now its just FUNC(throwFiredXEH) |
Also is CBA_fnc_serverEvent still a thing? or should it be CBA_fnc_globalEvent. |
#5209 possible fix, missing call |
Hope you fix it with that. I still think its a mystery that QGVAR(activeThrowable) get changed in the global event:
Picture of the logg: |
Take a look at https://github.com/acemod/ACE3/blob/master/addons/chemlights/functions/fnc_throwIR.sqf It deletes the old grenade, creates a new one |
Aa thanks. That explains alot :) |
Arma 3 Version:
Stable
(stable / rc / dev)CBA Version:
3.3
(stable / dev + commit hash)ACE3 Version:
3.9.2
(stable / dev + commit hash)Mods:
Description:
[QEGVAR(common,setShotParents), [_activeThrowable, _unit, (getShotParents _activeThrowable) select 1]] call CBA_fnc_serverEvent;
variable _activeThrowable is in weird form: 8d881600# 178009.
While others are on the form 1779997.
So getShotParents returns a blank array.
The variable is being distorted in fnc_prime here:
Steps to reproduce:
Where did the issue occur?
Placed Modules:
RPT log file:
The text was updated successfully, but these errors were encountered: