RHS Feedback

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006254AFRF[All Projects] Generalpublic2021-04-04 03:002021-04-15 18:40
Assigned Toreyhard 
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0006254: habarScr custom function not working
Descriptionchanging anything in the array from 1 to 0 [x,x,x,x] doesn't do anything
Steps To Reproduceput "habarScr = [this,3,[0,0,0,0]] execVM "\rhsafrf\addons\rhs_c_tanks\scripts\bgr_t80_habar.sqf";" in the init field of a T-80 tank. It will not remove anything
TagsNo tags attached.
Is it a wish/request?No
RHS versionStable
Arma 3 version2.02
Did you used any other mod when the error occurred?No
Which mods?
Attached Files

- Relationships

-  Notes
reyhard (administrator)
2021-04-04 09:45

why are you not using Eden attributes? Script that you pasted can be used on vehicles spawned mid mission or created using old 2d editor
OutlinedBudgie (reporter)
2021-04-04 15:42

I tested it for an init script for a game mode (KP Liberation https://github.com/KillahPotatoes/KP-Liberation/wiki/EN_ConfigFiles [^] scroll down to kp_objectInits.sqf) So it only works mid mission? Thanks for the declaration. Also the quotation marks on you websites instead of [ “ ” ] it should be [ " " ]. Caused me some hour long confusion with weird errors till I realized that
reyhard (administrator)
2021-04-08 08:58

do you happen to know if kp_objectInits is happening during mission init? If yes, then indeed, all your customization will be overwritten after spawn. I've also updated documentation so it's now referencing functions that we have, instead of execVM solution
OutlinedBudgie (reporter)
2021-04-08 22:25

I do not know, if it is it isn't working. Decals are applying but the exterior stays the same no matter what. Any other way to test?
OutlinedBudgie (reporter)
2021-04-15 02:09

tried it again in the init box of eden the first 3 scripts work
habarScr = [this,0] call RHS_fnc_t80_habar;
habarScr = [this,1] call RHS_fnc_t80_habar;
habarScr = [this,2] call RHS_fnc_t80_habar;

however the customization script does not work, it doesn't do anything no matter what the input for the array is. Instead of customizing the tank it functions the same as habarScr = [this,1] call RHS_fnc_t80_habar; (to enable all)
reyhard (administrator)
2021-04-15 18:39

please use Eden attributes. Script that you pasted can be used on vehicles spawned mid mission or created using old 2d editor

- Issue History
Date Modified Username Field Change
2021-04-04 03:00 OutlinedBudgie New Issue
2021-04-04 09:45 reyhard Note Added: 0011609
2021-04-04 09:45 reyhard Assigned To => reyhard
2021-04-04 09:45 reyhard Status new => feedback
2021-04-04 15:42 OutlinedBudgie Note Added: 0011612
2021-04-04 15:42 OutlinedBudgie Status feedback => new
2021-04-08 08:58 reyhard Note Added: 0011617
2021-04-08 08:58 reyhard Status new => feedback
2021-04-08 22:25 OutlinedBudgie Note Added: 0011621
2021-04-08 22:25 OutlinedBudgie Status feedback => new
2021-04-15 02:09 OutlinedBudgie Note Added: 0011626
2021-04-15 18:39 reyhard Note Added: 0011628
2021-04-15 18:39 reyhard Status new => closed
2021-04-15 18:40 reyhard Resolution open => no change required

Copyright © 2000 - 2021 MantisBT Team
Powered by Mantis Bugtracker