Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] did you register the event?

[DiscordArchive] did you register the event?

[DiscordArchive] did you register the event?

rektbyfaith
Administrator
0
06-27-2019, 08:29 PM
#1
Archived author: speedfangz • Posted: 2019-06-27T20:29:10.639000+00:00
Original source

did you register the event?
rektbyfaith
06-27-2019, 08:29 PM #1

Archived author: speedfangz • Posted: 2019-06-27T20:29:10.639000+00:00
Original source

did you register the event?

rektbyfaith
Administrator
0
06-27-2019, 08:30 PM
#2
Archived author: haramman • Posted: 2019-06-27T20:30:45.298000+00:00
Original source

ya
rektbyfaith
06-27-2019, 08:30 PM #2

Archived author: haramman • Posted: 2019-06-27T20:30:45.298000+00:00
Original source

ya

rektbyfaith
Administrator
0
06-27-2019, 08:31 PM
#3
Archived author: haramman • Posted: 2019-06-27T20:31:47.108000+00:00
Original source

```lua
local function OnSpell(event, player, spell, skipCheck)
if(spell:GetEntry() == 42995) then
spellTargetAsObj = spell:GetTarget()
spellTargetAsPlayer = spellTargetAsObj:ToPlayer()
playerName = spellTargetAsPlayer:GetName()
print(playerName)

spellTargetAsPlayer:CreateCorpse()
end
end

RegisterPlayerEvent(5, OnSpell)```
rektbyfaith
06-27-2019, 08:31 PM #3

Archived author: haramman • Posted: 2019-06-27T20:31:47.108000+00:00
Original source

```lua
local function OnSpell(event, player, spell, skipCheck)
if(spell:GetEntry() == 42995) then
spellTargetAsObj = spell:GetTarget()
spellTargetAsPlayer = spellTargetAsObj:ToPlayer()
playerName = spellTargetAsPlayer:GetName()
print(playerName)

spellTargetAsPlayer:CreateCorpse()
end
end

RegisterPlayerEvent(5, OnSpell)```

rektbyfaith
Administrator
0
06-27-2019, 08:33 PM
#4
Archived author: haramman • Posted: 2019-06-27T20:33:33.926000+00:00
Original source

prints target name out fine
rektbyfaith
06-27-2019, 08:33 PM #4

Archived author: haramman • Posted: 2019-06-27T20:33:33.926000+00:00
Original source

prints target name out fine

rektbyfaith
Administrator
0
06-27-2019, 08:33 PM
#5
Archived author: haramman • Posted: 2019-06-27T20:33:40.077000+00:00
Original source

only wont create his corpse
rektbyfaith
06-27-2019, 08:33 PM #5

Archived author: haramman • Posted: 2019-06-27T20:33:40.077000+00:00
Original source

only wont create his corpse

rektbyfaith
Administrator
0
06-27-2019, 08:33 PM
#6
Archived author: haramman • Posted: 2019-06-27T20:33:49.017000+00:00
Original source

unless i completely misunderstood something
rektbyfaith
06-27-2019, 08:33 PM #6

Archived author: haramman • Posted: 2019-06-27T20:33:49.017000+00:00
Original source

unless i completely misunderstood something

rektbyfaith
Administrator
0
06-27-2019, 08:38 PM
#7
Archived author: haramman • Posted: 2019-06-27T20:38:05.496000+00:00
Original source

server crashed on me and when i logged back in theres now a skeleton
rektbyfaith
06-27-2019, 08:38 PM #7

Archived author: haramman • Posted: 2019-06-27T20:38:05.496000+00:00
Original source

server crashed on me and when i logged back in theres now a skeleton

rektbyfaith
Administrator
0
06-27-2019, 08:38 PM
#8
Archived author: haramman • Posted: 2019-06-27T20:38:17.458000+00:00
Original source

but when i use it again it still spawns nothing
rektbyfaith
06-27-2019, 08:38 PM #8

Archived author: haramman • Posted: 2019-06-27T20:38:17.458000+00:00
Original source

but when i use it again it still spawns nothing

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)