Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / LoadObject with ID and Height not working?

Author
Message
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 10th Apr 2014 00:02 Edited at: 10th Apr 2014 00:02
(V108.21 but could be others)

Can anyone confirm that this does not compile:

loadObject(id,"model.obj", 10)

The following alternatives seem OK:

loadObject(id,"model.obj")
id = loadObject("model.obj", 10)
id = loadObject("model.obj")


Lucas Tiridath
AGK Developer
16
Years of Service
User Offline
Joined: 28th Sep 2008
Location: Kings Langley, UK
Posted: 10th Apr 2014 00:59
I just tested it and it works fine for me. I tried it with V108.21 on Windows 8 and V108.18 on Windows 7 x64.

To be precise, this is the test code I ran.


What error are you getting?

BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 10th Apr 2014 09:29
It's amazing what a difference one symbol makes. I had a $ where there should have been a #, in the height parameter.

Thanks for testing, it confirmed I must have done something silly!

Login to post a reply

Server time is: 2024-11-25 05:00:58
Your offset time is: 2024-11-25 05:00:58