Question?
#2
We are sorry for the delay of the reply. Rolleyes

I hope this can help you:

CastSpellUnit
Format:
CastSpellUnit( constSpell : string , x : float , y : float , Unit : object )
ww
Description:
Use the spell (constSpell) for object (Unit). Where x, y - determines where the spell effect will start.
Example from the game:
CastSpellUnit("invisibility{d2;d2;d2;d2;d2;d2;d2;d2}",50,50,Spirit)

GetObject, GetObjectByID
Format:
GetObject( idObject : float ) : object
GetObjectByID( idObject : string ) : object
Description:
Return copy of object for Unit with id: idObject. GetObject will not work with numbers larger than 999.999.999, use GetObjectByID instead.
Example from game:
AddObject( Salut, GetObject( 196568 ) )
PodMaster = GetObjectByID( "927062" )

Cast
Format:
Cast( Unit : object , x : float , y : float )
Description:
Use active ( Unit ) spell for place (x,y).
Limitation:
1. Select the active spell first (may use SetSpellAggression).
2. The spell must be intended for the place but not for the unit.
There are no examples of this command in the game.
Ответ


Сообщения в этой теме
Question? - от v3001 - 22.02.2003, 14:35
Question? - от Jet - 26.02.2003, 01:18
Question? - от v3001 - 26.02.2003, 11:28
Question? - от Irenicmad - 26.02.2003, 23:56
Question? - от shackahn - 27.02.2003, 00:11
Question? - от Jet - 27.02.2003, 15:12
Question? - от v3001 - 27.02.2003, 17:28
Question? - от Jet - 27.02.2003, 19:32
Question? - от v3001 - 27.02.2003, 21:13

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


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