Notes |
|
|
Hmm now that I read up on the wiki the only way for it to work on weapons is using GetUserVariable from ACS |
|
|
|
Please first check whether what you are trying to do works in GZDoom 1.8.6. |
|
|
|
It does if I use ACS but sadly this doesn't help what I was trying to do. (Saving a ACS call in a user variable to reduce calls to the ACS function) |
|
|
(0017279)
|
Cutman
|
2017-04-23 15:00
|
|
'https://zdoom.org/wiki/User_variable [^]'
Weapon
* The player itself must have the user variables. Defining the user variables is completely unnecessary on weapons as they are never stored.
* Weapons may set the user variables on the player via DECORATE or ACS.
Unfortunate as it would be very handy, but they have to be defined in the playerclass if you want to use them. |
|
|
|
So sounds like this is not a bug of Zandronum 3.0 then, right? |
|
|
|
AFAIR user variables can't be used reliably on weapons because of a bad implementation of Decorate (inherited from (G)Zdoom). ZScript fixes this, hence [WFZS]. |
|