Skip to content

Manual:DIL Manual dilcopy()

iamnove edited this page Jan 18, 2023 · 58 revisions

dilcopy( s : string, u : unitptr )

   s : Name template to attach to unit.
   u : Unit to attach a dil program to.
   result: Attaches a DIL program to a unit 'u', which uses a template named by 's'.

Examples:

  dilcopy("master_servant@spells()", u);
  dilcopy("spl_sleep@spells(7)", tgt);
  dilcopy("sendmsg@spells(teleport)", targ);
Clone this wiki locally