- Joined
- Jul 27, 2015
- Messages
- 29
Hello
I've been creating a spell that temporarily increases a unit's range using some of the new functions added to the GUI that let you retreive/edit the fields in a unit's object editor data.
What I noticed is the 'ua1m' field doesn't seem to be correct, if you hit ctrl+d in the object editor you can see range field is actually 'ua1r' (see below)
Also maybe worth noting is this is actually an Integer field in the Object editor, but the attack range doesn't come up under Integer fields in the GUI editor (see below)
So I decided to convert the trigger to custom text to see if I could manually put the correct field in and thats when I found that the GUI editor's action refers to what looks to me like some constant defined outside of the World editor
I'm pretty stuck here, any ideas? I think it's just a bug with the editor and I will have to use an old work around like morphing but it's a shame as I'd love to use the new functions :c
I've been creating a spell that temporarily increases a unit's range using some of the new functions added to the GUI that let you retreive/edit the fields in a unit's object editor data.
- Unit - Set Unit: UNIT's Weapon Real Field: Attack Range ('ua1m')at Index:0 to Value: ((Unit: UNIT's Weapon Real Field: Attack Range ('ua1m') at Index:0) - REAL)
What I noticed is the 'ua1m' field doesn't seem to be correct, if you hit ctrl+d in the object editor you can see range field is actually 'ua1r' (see below)
Also maybe worth noting is this is actually an Integer field in the Object editor, but the attack range doesn't come up under Integer fields in the GUI editor (see below)
So I decided to convert the trigger to custom text to see if I could manually put the correct field in and thats when I found that the GUI editor's action refers to what looks to me like some constant defined outside of the World editor
I'm pretty stuck here, any ideas? I think it's just a bug with the editor and I will have to use an old work around like morphing but it's a shame as I'd love to use the new functions :c