Something of a silly question...Character.on vs. Character.Visible

Started by monkey0506, Wed 13/09/2006 08:57:11

Previous topic - Next topic

monkey0506

It's been around since...as long as I can remember, it's hidden from the autocomplete, and it's not documented, however all over the forums it's been said you can use Character.on to (un)hide a character (by setting it to 1 or 0).

I was just curious...in my pseudo-insomniac state...why hasn't this ever been implemented into a Character.Visible property? I assume, based on the fact it's hidden and undocumented, that it's used internally by AGS, but if we're telling people it's safe to use it, wouldn't these both serve the same end-purpose?

Well...that's all really. Thanks.

Pumaman

It's not officially supported because I haven't tested that it's safe to use -- for example, that GetLocationName, GetCharacterAt, and related functions work properly when "on" is turned off. One day it probably should become official.

monkey0506

Okay...thanks Chris.

BTW, I'd just like to say now that I for one would support an official property. ;)

SMF spam blocked by CleanTalk