Lua Function [TFS 1.3] creature:getEmblem() | creature:setEmblem(emblem)

Delusion

Divine Intellect
Support Team
Joined
Feb 14, 2015
Messages
4,935
Best answers
451
Reaction score
2,547
Since this won't be merged to master branch and I haven't seen any code that does this since 8.6, I'll just release this here.

Code: creature:getEmblem(), creature:setEmblem(emblem) · delusionx/[email protected] (https://github.com/delusionx/forgottenserver/commit/209fbd51191ac2def5c9cdc979527278b24edcf9)

Emblem enums:
Code:
GUILDEMBLEM_NONE
GUILDEMBLEM_ALLY
GUILDEMBLEM_ENEMY
GUILDEMBLEM_NEUTRAL
GUILDEMBLEM_MEMBER
GUILDEMBLEM_OTHER
Usage:
Lua:
creature:setEmblem(GUILDEMBLEM_MEMBER)
print(creature:getEmblem()) -- GUILDEMBLEM_MEMBER, aka 4
 

Ochman

Premium User
Premium User
Joined
Feb 27, 2016
Messages
234
Best answers
3
Reaction score
144
Could you please point me out what's the Guild Emblem?
I am out of the loop for the newest tibia distros.
 
OP
Delusion

Delusion

Divine Intellect
Support Team
Joined
Feb 14, 2015
Messages
4,935
Best answers
451
Reaction score
2,547
Could you please point me out what's the Guild Emblem?
I am out of the loop for the newest tibia distros.
Just something cool to use like using a skull on a player to mark them as something special for example.
 
Top