You can't copy paste const / event definition lines in to a comment block. I don;t see how that helps (quickly). To put this in to some perspective. I'm using arrays as the closest thing I can find to a data structure (perhaps object graphs are another feature request?). Anyway, to make array handling more readable I use constants to reference array indexes. That way, when you want to introduce a new property, you haven't got to go an rehash indexed look-ups. Event lines like...
> set rank to Ranks.At(Player.At(PA_RANK),RA_RANK_NAME)
(In the above example, trying to simulate object instance and property lookup, the first array index is equivalent to an object instance and the second the property I want). I know I could disappear down a customer plug-in route for my own object graphs, but I quite like trying to use the tool native as supplied.
As you can probably guess, you end up with a long list on constants for array indices to mimic field references. If you want to re-jig the array entries, you change the constant.
Anyway, I think the modal editing of events does make obfuscation approaches like this an act of good memory. Another alternative may be to list constants in the objects window. Anyway, a request / suggestion.Duckocide2013-02-23 14:14:28