Команда блок
#9
Joogi,
1) If you mean script construction
Код:
Script #SomeScript(
 if
 (
   ...
 )
 then
 (
   ...
 )
 if
 ...
)
then no, script can return value only with global var(defined in GlobalVars construction in .mob file) in script or global game var(use GSSetVar, GSGetVar).
2) There are 2 ways to make it:
- With AddMob("mob_file_name.mob") script procedure. But this way requires for each monster's pack its call of AddMob.
- With AddUnitToServer, this way is the worst way. Because for each mob its requires its call of AddUnitToServer and it correctly works only with humans or orc's.
Ответ


Сообщения в этой теме
Команда блок - от Avaroscient - 15.10.2012, 18:56
Команда блок - от Jet - 15.10.2012, 20:27
Команда блок - от Demoth - 15.10.2012, 20:27
Команда блок - от Jet - 15.10.2012, 20:34
Команда блок - от Avaroscient - 15.10.2012, 22:20
Команда блок - от Demoth - 16.10.2012, 00:07
Команда блок - от Demoth - 18.10.2012, 22:51
Команда блок - от Joogi - 19.10.2012, 04:36
Команда блок - от Demoth - 19.10.2012, 08:56
Команда блок - от Avaroscient - 21.10.2012, 21:34
Команда блок - от Joogi - 26.10.2012, 06:21

Перейти к форуму:


Пользователи, просматривающие эту тему: 1 Гость(ей)