-
Notifications
You must be signed in to change notification settings - Fork 310
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
[Feature/Improvement] change "str _unit" to netId #613
Comments
Can do |
You were talking about listboxes and units.
works the same way as
|
The problem is with the contents. Like here most of the time in the framework the data set is something like |
|
I tried it (see screenshot) and it didn't work. You can prove me otherwise of course, just add me some working code for proof still. netId is the way to go. It is not intended use to str and object to refer to it. |
This only works with named units as @DomT602 pointed out on the discord. This does not work with vehicles and such. Thats it :D |
Requested Change
Currently, when units are involved something like
str _unit
orstr player
is added to the listbox. Instead,netId _unit
should be used instead (object can be retrieved again viaobjectFromNetId "netId_here"
and would be way better thancall compile _str
everytime-> this is more just a reminder for myself than anything else so I don't forget :D Will do the PR when #611 and #612 are merged (to not fuck up everything)
The text was updated successfully, but these errors were encountered: