alucardxlx1986 
Apprentice

Posts: 14
Likes Given: 1
Likes Received: 0 in 0 posts
Joined: Dec 2012
Reputation: 0
![]()
|
RE: Item property gump need help
(01-22-2016 01:02 AM)rastrero Wrote: this is ur script fixed. should work
[ITEMDEF i_testchineseitem1]
ID=0108a
TYPE=T_CHNITEMNAME
ON=@Create
NAME=testchinese 中文
COLOR=481
[TYPEDEF T_CHNITEMNAME]
ON=@CLICK
message @160,,1 <NAME>
timerf 1,chniteminfo <uid> //fix 1 send the item uid to the next function u call it later.
return 1
[Function chniteminfo]
tag0.itemprops=<args> //fix4 safe the uid into the character to call it later.
src.dialog d_iteminfochn
timerf 3,closechniteminfo
return 0
[Function closechniteminfo]
SRC.DIALOGCLOSE d_iteminfochn
[dialog d_iteminfochn]
800, 600
PAGE 0
resizepic 0 0 83 300 400
text 97 14 1152 0
ref12=<uid.<tag0.itemprops>> // //fix5 Set ref12 as fast way to call the item.
tag0.imtemprops= // //fix 6 erase tag
dtext 21 42 1152 <ref12.name> //// //fix7 call the item name
//////////////////////////////////// Another way u can test:
[Function chniteminfo]
uid.<args>.dialog d_iteminfochn //or using a trysrc if it dosnt work.
timerf 3,closechniteminfo
return 0
thx a lot dud,i have no game in my office pc..,i'll try it!
(01-22-2016 03:34 PM)evening Wrote: yes use AOS tooltips
咱中国人就不用说英语了吧
(01-21-2016 10:21 PM)Kanibal Wrote:
Code:
[ITEMDEF i_testchineseitem1]
ID=0108a
TYPE=T_CHNITEMNAME
ON=@Create
NAME=testchinese 中文
COLOR=481
ON=@CLICK
message @160,,1 <NAME>
sdialog d_iteminfochn
src.timerf 3,dialogclose d_iteminfochn
return 1
[dialog d_iteminfochn]
800, 600
resizepic 0 0 83 300 400
dtext 97 14 1152 <name>
dtext 21 42 1152 <name>
[EOF]
dude,thx all the same
(01-22-2016 03:00 AM)karma Wrote: Have you considered AOS tooltips?
I used AOS item tooltips,the ITEM's Name cannot shows Chinese,I don't know why...so I want make it in other way like I said...
I know cliloc can show Chinese,but custom name and others...you know that...
hi,rastrero,one more question
the "other props" just like the "name" way?
with ref?
|
|
01-22-2016 04:36 PM |
|
|