Ask for help
Moderators: Murderator+, Murderator
-
Fonzy
- Posts: 32
- Joined: 2004-05-03 17:30:45
- Location: OR
-
Contact:
Post
by Fonzy »
Anyone can tell me why this doesn't work?
if (UO.ContainerOf(obj)==0xFFFFFFFF) then
UO.Print("The Object is on earth")
end if
I absolutely can't know if an object is on the ground. I also tried =="0xFFFFFFFF" but nothing too.
OR
-
Yoko
- Site Admin
- Posts: 1964
- Joined: 2004-04-03 16:49:38
-
Contact:
Post
by Yoko »
uo.print(UO.ContainerOf("self"))
look at output, check up completely incedence of chars, including case
-
Fonzy
- Posts: 32
- Joined: 2004-05-03 17:30:45
- Location: OR
-
Contact:
Post
by Fonzy »
Yes Yoko, there's something wrong, maybe with casting. However setting ==UO.ContainerOf("self") worked good for me. Thanks.
Note: if I put after the == the RESULT of ContainerOf("self") it doesn't work.
OR
-
Yoko
- Site Admin
- Posts: 1964
- Joined: 2004-04-03 16:49:38
-
Contact:
Post
by Yoko »
it will work exactly as good if you will ATTENTIVELY rewrite the result
i'm quite sure in this
-
Fonzy
- Posts: 32
- Joined: 2004-05-03 17:30:45
- Location: OR
-
Contact:
Post
by Fonzy »
i did, it didn't

however no problem

OR