• 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!

Lua TFS 1.0 Kills and Deaths on Look (creature event)

giddy92

New Member
Joined
Aug 8, 2014
Messages
69
Reaction score
0
There is no creaturescript type look in TFS 1.0, but you can use the event instead in data/events/scripts/player.lua.
Then in this function.
Code:
function Player:onLook(thing, position, distance)
 
There is no creaturescript type look in TFS 1.0, but you can use the event instead in data/events/scripts/player.lua.
Then in this function.
Code:
function Player:onLook(thing, position, distance)


I am a beginner and do not know how I do it. :/
Could a little more help? ;)
 
I want install this on TFS 1.0
http://otland.net/threads/kills-and-deaths-on-look.166381/
But it trow bugged:
Code:
[Error - CreatureEvent::configureEvent] Invalid type for creature event: showKD
[Warning - BaseEvents::loadFromXml] Failed to configure event

I found CreatureEvent types:
http://otland.net/threads/thouble-with-some-tfs-1-0-creature-events.205840/

But i dont know what type of event i should add?
If "look" is not anavaible...
I am a beginner and do not know how I do it. :/
Could a little more help? ;)

Check my signature, I have it already made for 1.0.
http://otland.net/threads/tfs-1-0-kdr-system.221595/
 
Back
Top