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

Plx Creature Events

zerghel

Tsuni
Joined
Jul 1, 2008
Messages
299
Reaction score
9
Can Someone tell me all the creatureevents like:
onLogin
onDeath
onKill
for TFS 0.2.5 Mystic spirit?
 
thx but this looks like TFS 0.3

the thing is im trying to use this code but i'm just to noob to do it
Code:
function onCombat(cid, target)
    if isPlayer(target) then
                if getPlayerGuildId(target) == getPlayerGuildId(cid) then
                        return FALSE
                else
                        return TRUE
                end
        else
                return TRUE
    end
end
can u help me?
 
Lua:
function onCombat(cid, target)
    if isPlayer(target) and getPlayerGuildId(target) == getPlayerGuildId(cid) then
        return false
    end
return true
end
 
is there a list for tfs 0.3.6 ??
./doc/SCRIPTSYSTEM_HELP
Code:
	*CREATURESCRIPTS
		File: creaturescripts/creaturescripts.xml
		Attributes
			type
				Event type
				Values:
					login, logout
					advance, statschange,
					direction, outfit
					sendmail, receivemail
					traderequest, tradeaccept
					joinchannel, leavechannel
					look, think, textedit, reportbug
					push, target, follow
					attack, combat, areacombat, cast
					kill, death, preparedeath
		Functions:
[B]			onLogin(cid)
			onLogout(cid)
			onAdvance(cid, skill, oldLevel, newLevel)
			onStatsChange(cid, attacker, type, combat, value)
			onDirection(cid, old, current)
			onOutfit(cid, old, current)
			onSendMail(cid, receiver, item, openBox)
			onReceiveMail(cid, sender, item, openBox)
			onTradeRequest(cid, target, item)
			onTradeAccept(cid, target, item, targetItem)
			onJoinChannel(cid, channel, users)
			onLeaveChannel (cid, channel, users)
			onLook(cid, thing, position, lookDistance)
			onThink(cid, interval)
			onTextEdit(cid, item, newText)
			onReportBug(cid, comment)
			onAreaCombat(cid, tileItem, tilePosition, isAggressive)
			onPush(cid, target)
			onTarget(cid, target)
			onFollow(cid, target)
			onCombat(cid, target)
			onAttack(cid, target)
			onCast(cid, target)
			onKill(cid, target, lastHit)
			onDeath(cid, corpse, deathList)
			onPrepareDeath(cid, deathList)[/B]
 
funny-picture-push-R%27eyes-funny.jpg
 
Back
Top