hi i wonder if its possible to change packagedata on the fly per script?
since i has public data there should be a way to access them somehow.
i want to change max distance on a follow package from a follower without making 20 versions of it with premade distancevalues.
any idea on this?
I don't have CK open right now so I can't check, but if you go to add a property to a script, is PackageData or AIPackageData a type you can choose from for the property? If so, I'd try to fill it in the editor and see what options come up.
Negative, package properties are per-package-only. I wish I could make package variables point to script variables or even globals. You can retrieve package data, but not modify it (And by retrieve it, I mean by logic condition only, not script)
Public means you can access that variable when you derive a package from a template.
Ex.
If I have a template that has a bunch of procedures, each of those procedures needs variables, so you have to define them. Now if I derive a package from a template, I'm only going to see the variables that were set to public.