Dries390
Well-Known Member
- Joined
- Sep 8, 2007
- Messages
- 91
- Solutions
- 4
- Reaction score
- 70
Hello again everyone. I've been trying to apply the code described by
to Nekiro's downgraded TFS 1.3 8.6. Everything compiles just fine but when trying to actually use the function in a simple script
I simply get a global setCreatureName (nil value) error i.e. I think he cannot find the function defined earlier. Has anybody, hopefully succesfully, applied these changes to TFS 1.3?
Thanks in advance!
Lua Function - Change Existing Monster Name In-Game
Does it work for TFS[1.2]? If not (can't confirm myself, because I never compiled anything) then can someone update it?
otland.net
to Nekiro's downgraded TFS 1.3 8.6. Everything compiles just fine but when trying to actually use the function in a simple script
Lua:
function onUse(player, item, fromPosition, target, toPosition, isHotkey)
local name = "Beelzegor, the destroyer"
local desc = "test"
local b = doSummonCreature("troll", toPosition)
setCreatureName(b, name, desc)
end
I simply get a global setCreatureName (nil value) error i.e. I think he cannot find the function defined earlier. Has anybody, hopefully succesfully, applied these changes to TFS 1.3?
Thanks in advance!