Do imagepoints actually work?

New releases and general discussions.

Post » Wed Sep 17, 2008 7:59 pm

I'm trying to get an imagepoint x from an object, but when i type in the name it just says its not a variable, would i like to define it. I chose yes for kicks and it just creates a variable for it (i hope this hasn't messed up my .cap or anything, Its not crashed yet).

But more importantly, i can't call the imagepoint. Am i doing this wrong?
Ships.ImagePointX('something')

That just thinks im trying to call a variable... Strange..
B
2
S
2
G
5
Posts: 448
Reputation: 2,546

Post » Wed Sep 17, 2008 8:02 pm

use " instead of '
B
2
S
2
G
5
Posts: 236
Reputation: 2,122

Post » Wed Sep 17, 2008 8:12 pm

Ah thanks man. Thats possible a small bug?
B
2
S
2
G
5
Posts: 448
Reputation: 2,546

Post » Wed Sep 17, 2008 8:15 pm

No bug, it's an expression, which takes a string, so " is correct.

' is only for variables.
B
3
S
2
G
5
Posts: 1,777
Reputation: 5,529

Post » Wed Sep 17, 2008 8:16 pm

Cool. Thanks for the fast replies chaps.
B
2
S
2
G
5
Posts: 448
Reputation: 2,546


Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 0 guests