• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[deprecated] doPlayerSetSpecialDescription

  • Thread starter Thread starter Icy
  • Start date Start date
Status
Not open for further replies.
I

Icy

Guest
I know there was an LUA function before entitled 'doPlayerSetSpecialDescription'.

Someone told me that it has been replaced with
'doPlayerSetAttribute' yet I find no mention of it in the DOC, changelog or anything else, also haven't gotten it to work.

Is there any LUA function that is usable to supplement this deprecated function or am I stuck changing the look returns in the sources?

Thanks in advanced!
 
Maybe I'm overlooking something then, is there any reason why this works:
LUA:
doCreatureSay(cid, display[2], TALKTYPE_MONSTER)

but this doesn't:
LUA:
doPlayerSetSpecialDescription(cid, display[2])
?
 
try tostring(display[2])

Doesn't work, also tried subbing
Code:
display[2]
for..

Code:
person
'person'
"person"

..and none work.

However, this still works:
LUA:
doCreatureSay(cid, tostring(display[2]), TALKTYPE_MONSTER)

so display[2] is obviously a string already x.x


EDIT: Using it as an onLogin creatureEvent rather than an onLook event doesn't do anything - it still doesn't work.
 
Last edited by a moderator:
Status
Not open for further replies.
Back
Top