[DGD]shadowin

E. Harte harte at xs4all.nl
Sun Mar 12 19:05:56 CET 2000


On Sun, 12 Mar 2000, Risto Karjalainen wrote:

> I wonder how I can override the call_other function?
> 
> something like:
> 
> mixed call_other( ? )

Try this:

  mixed call_other(mixed obj, string func, mixed args...)

See also:

  dgd/doc/kfun/call_other

> i have no idea what i should place in the brackets, i tried the ...
> operator but i really have no experience on using it and i got zillion
> errors.
> 
> and if i override the call_other function does it work like this anymore:
> object->set_hp(10); ?

Yes, the '->' operator will still work.

Erwin.
-- 
Erwin Harte  -  Forever September, 2385 and counting  -  harte at xs4all.nl


List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list