Manual:DIL Manual/send done()
Jump to navigation
Jump to search
Function: send_done( c : string, a :unitptr, m : unitptr, t :unitptr, p : integer, arg : string, o : unitptr);
c
the command string that is sending the message
a
the unitptr (activator) that activated the message
m
the unitptr (medium) that the Dil is acting through
t
the unitptr (target) the Dil is acting on
p
the power of the message
arg
the argument sent with the message
o
the unitptr (other) you also want the message to go to
This sends the 'SFB_DONE' message to any dils that are waiting for it in the surrounding area and to the other pointer if not null. The following is just one example you can find many more in commands.zon
Example: ---~---~---~---~---~---~---~---~---
dilbegin do_read (arg:string);
var
brdname:string;
i:integer;
u:unitptr;
x:extraptr;
ln:integer;
temp:string;
templist:stringlist;
buff:string;
f_name:string;
act_str:string;
code
dilend
---~---~---~---~---~---~---~---~---
Function: send_done( c : string, a :unitptr, m : unitptr, t :unitptr, p : integer, arg : string, o : unitptr);
c
the command string that is sending the message
a
the unitptr (activator) that activated the message
m
the unitptr (medium) that the Dil is acting through
t
the unitptr (target) the Dil is acting on
p
the power of the message
arg
the argument sent with the message
o
the unitptr (other) you also want the message to go to
This sends the 'SFB_DONE' message to any dils that are waiting for it in the surrounding area and to the other pointer if not null. The following is just one example you can find many more in commands.zon
Example: ---~---~---~---~---~---~---~---~---
dilbegin do_read (arg:string);
var
brdname:string;
i:integer;
u:unitptr;
x:extraptr;
ln:integer;
temp:string;
templist:stringlist;
buff:string;
f_name:string;
act_str:string;
code
dilend
---~---~---~---~---~---~---~---~---