Skip to content
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

Fix example function errors #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Play3rgg
Copy link

I've made a small change - A3AE -> A3A
Feel free to test my change yourself.

Current function examples cause errors.




["AIVehInit", "A3A_Events_example", A3AE_functions_fnc_AIVehInit] call A3A_E>
20:38:25   Error position: <A3AE_functions_fnc_AIVehInit] call A3A_E>
20:38:25   Error Undefined variable in expression: a3ae_functions_fnc_aivehinit
20:38:25 File \x\a3ae_rhs_napa_su25\addons\functions\Events\fn_addExampleEventListener.sqf [a3ae_rhs_napa_su25_functions_fnc_addExampleEventListener]..., line 5
20:38:25  ➥ Context:     [] L586 (A3\functions_f\initFunctions.sqf)
    [] L638 (A3\functions_f\initFunctions.sqf)
    [] L637 (A3\functions_f\initFunctions.sqf)
    [] L632 (A3\functions_f\initFunctions.sqf)
    [] L634 (A3\functions_f\initFunctions.sqf)
    [] L22 (x\A3A\addons\core\functions\debug\fn_runPostInitFuncs.sqf)
    [] L22 (x\A3A\addons\core\functions\debug\fn_runPostInitFuncs.sqf)
    [] L5 (\x\a3ae_rhs_napa_su25\addons\functions\Events\fn_addExampleEventListener.sqf [a3ae_rhs_napa_su25_functions_fnc_addExampleEventListener])
    [] L31 (x\A3A\addons\events\functions\fn_addEventListener.sqf)
    [] L32 (x\A3A\addons\events\functions\fn_addEventListener.sqf)
    [] L32 (x\A3A\addons\events\functions\fn_addEventListener.sqf)
    [] L32 (x\A3A\addons\events\functions\fn_addEventListener.sqf)

20:38:25 2024-12-11 18:38:25:840 | Antistasi | Error | File: A3A_events_fnc_addEventListener | Invalid params passed: ["AIVehInit","A3A_Events_example",any] | Called By: a3ae_rhs_napa_su25_functions_fnc_addExampleEventListener
20:38:25 Unknown entity: '& b'
20:38:25  ➥ Context:     [] L119 (DBUG\functions\console\fn_initCommands.sqf)
    [] L105 (DBUG\functions\console\fn_initCommands.sqf)
    [] L69 (DBUG\functions\console\fn_initCommands.sqf)
    [] L71 (DBUG\functions\console\fn_initCommands.sqf)
 <-     [] L586 (A3\functions_f\initFunctions.sqf)
    [] L638 (A3\functions_f\initFunctions.sqf)
    [] L637 (A3\functions_f\initFunctions.sqf)
    [] L632 (A3\functions_f\initFunctions.sqf)
    [] L634 (A3\functions_f\initFunctions.sqf)
    [] L13 (/DEV_TOOLS/functions/general/fn_postInit.sqf)
    [] L14 (/DEV_TOOLS/functions/general/fn_postInit.sqf)
    [] L5 (DBUG\functions\console\fn_initCommands.sqf)```



@Play3rgg Play3rgg requested review from HakonRydland and removed request for HakonRydland December 11, 2024 19:18
@Play3rgg Play3rgg added invalid This doesn't seem right and removed Merge pending Review pending labels Dec 11, 2024
@Play3rgg
Copy link
Author

This needs additional work.
Cant make issues on this repo. >:(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working invalid This doesn't seem right
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant