Page 1 of 1

MoveObjectToRealm 2006-07-02 POL 097 Win32

Posted: Sat Jul 22, 2006 3:16 am
by Harley
I have compile all my scripts to this version and, I have some problem with script 'go'. When I started to compile him, there were error:

Code: Select all

Token '(' cannot follow token 'MoveObjectToRealm'
Function MoveObjectToRealm() is not defined.
Error compiling statement at c:\pol097~1\scripts\textcmd\seer\go.src, Line 131
Error in IF statement starting at File: c:\pol097~1\scripts\textcmd\seer\go.src, Line 130
Error compiling statement at c:\pol097~1\scripts\textcmd\seer\go.src, Line 130
Error detected in program body.
Error occurred at c:\pol097~1\scripts\textcmd\seer\go.src, Line 131
I think that this is misunderstanding and I have added to uo.em thoose line:

MoveObjectToRealm( object, realm, x, y, z, flags := 0 );

and compile. Connected at game, wrote .go and get at Pol and Ultima Online window's thoose error's:

Code: Select all

Ultima Online Window: Unknown command: =go

At POL Window:
Unable to find uo::MoveObjectToRealm
script go: setProgram failed
At last core-changes I have not found any changes in occasion of MoveObjectToRealm. Please tell me, and help. What to me to do?

Thanks.

Posted: Sat Jul 22, 2006 4:28 am
by Pierce
MoveObjectToRealm() does not exist anymore.
You'll have to use
MoveObjectToLocation( object, x, y, z, realm := _DEFAULT_REALM, flags := MOVEOBJECT_NORMAL );

Posted: Sat Jul 22, 2006 8:46 am
by Harley
Okay, thanks all.