 |
|
DDowell
|
|
Västerås, Sweden
Nov 2001 time: 06:19
|
|
Here is an example of how to kill a unit (post a Kill event):
int_f DeathToUnit(unit_t aUnit)
{
Event:KillUnit(aUnit,0,-1); //Kill event posted (not necessarily executed)
}
In a more general syntax:
Event:EventName([arguments]);
Remember that they are executed ASYNCHRONOUSLY!
|
|
|  |
 |
|
centrifuge
|
|
Thanks guys...
|
|
|  |
 |
|
centrifuge
|
|
Very useful link, thanks Peter
|
|
|  |
All times are GMT. The time now is 05:19. Apolyton Time is 00:19. |
top of page
|
| archivepost |
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
|
|
|
|
|
|