Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] appreciate it, quick question. in creature template, the creature i want to be able to get the kill

[DiscordArchive] appreciate it, quick question. in creature template, the creature i want to be able to get the kill

[DiscordArchive] appreciate it, quick question. in creature template, the creature i want to be able to get the kill

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
06-08-2021, 02:58 PM
#1
Archived author: Toggy • Posted: 2021-06-08T14:58:35.328000+00:00
Original source

appreciate it, quick question. in creature template, the creature i want to be able to get the kill and the player still gets credit under script name do i need to add "kill credit" from the end of the smartscript?
[Image: unknown.png?ex=690c0eda&is=690abd5a&hm=8...8a1c2d46f&]
rektbyfaith
06-08-2021, 02:58 PM #1

Archived author: Toggy • Posted: 2021-06-08T14:58:35.328000+00:00
Original source

appreciate it, quick question. in creature template, the creature i want to be able to get the kill and the player still gets credit under script name do i need to add "kill credit" from the end of the smartscript?
[Image: unknown.png?ex=690c0eda&is=690abd5a&hm=8...8a1c2d46f&]

rektbyfaith
Administrator
0
06-08-2021, 03:01 PM
#2
Archived author: Demonic • Posted: 2021-06-08T15:01:10.512000+00:00
Original source

Nah, this field isn't used for SAI, though you have to have a value "SmartAI" filled in the "AIName" collumn, else the NPC won't use the scripts no matter what.
rektbyfaith
06-08-2021, 03:01 PM #2

Archived author: Demonic • Posted: 2021-06-08T15:01:10.512000+00:00
Original source

Nah, this field isn't used for SAI, though you have to have a value "SmartAI" filled in the "AIName" collumn, else the NPC won't use the scripts no matter what.

rektbyfaith
Administrator
0
06-08-2021, 03:09 PM
#3
Archived author: Demonic • Posted: 2021-06-08T15:09:31.065000+00:00
Original source

Target 2 Imho won't work, that's target for the enemy of the NPC in combat, I'd try using target SMART_TARGET_PLAYER_DISTANCE - 18
or
SMART_TARGET_CLOSEST_PLAYER - 21
rektbyfaith
06-08-2021, 03:09 PM #3

Archived author: Demonic • Posted: 2021-06-08T15:09:31.065000+00:00
Original source

Target 2 Imho won't work, that's target for the enemy of the NPC in combat, I'd try using target SMART_TARGET_PLAYER_DISTANCE - 18
or
SMART_TARGET_CLOSEST_PLAYER - 21

rektbyfaith
Administrator
0
06-08-2021, 03:10 PM
#4
Archived author: Toggy • Posted: 2021-06-08T15:10:09.791000+00:00
Original source

oh is the target for the kill credit?
rektbyfaith
06-08-2021, 03:10 PM #4

Archived author: Toggy • Posted: 2021-06-08T15:10:09.791000+00:00
Original source

oh is the target for the kill credit?

rektbyfaith
Administrator
0
06-08-2021, 03:11 PM
#5
Archived author: Demonic • Posted: 2021-06-08T15:11:34.501000+00:00
Original source

Yeah, the Target is for the receiver of the triggered action. So, if it's f.e. fireball, than you want the target to be "2" and the fireball gots casted on the current top aggro enemy.
rektbyfaith
06-08-2021, 03:11 PM #5

Archived author: Demonic • Posted: 2021-06-08T15:11:34.501000+00:00
Original source

Yeah, the Target is for the receiver of the triggered action. So, if it's f.e. fireball, than you want the target to be "2" and the fireball gots casted on the current top aggro enemy.

rektbyfaith
Administrator
0
06-08-2021, 03:11 PM
#6
Archived author: Demonic • Posted: 2021-06-08T15:11:43.975000+00:00
Original source

for the killcredit, I'd try the 21
rektbyfaith
06-08-2021, 03:11 PM #6

Archived author: Demonic • Posted: 2021-06-08T15:11:43.975000+00:00
Original source

for the killcredit, I'd try the 21

rektbyfaith
Administrator
0
06-08-2021, 03:13 PM
#7
Archived author: Demonic • Posted: 2021-06-08T15:13:07.547000+00:00
Original source

The events itself determines who / what triggers it, "target" determines who's on the receiving event.
rektbyfaith
06-08-2021, 03:13 PM #7

Archived author: Demonic • Posted: 2021-06-08T15:13:07.547000+00:00
Original source

The events itself determines who / what triggers it, "target" determines who's on the receiving event.

rektbyfaith
Administrator
0
06-08-2021, 03:14 PM
#8
Archived author: Toggy • Posted: 2021-06-08T15:14:10.672000+00:00
Original source

awesome that worked
rektbyfaith
06-08-2021, 03:14 PM #8

Archived author: Toggy • Posted: 2021-06-08T15:14:10.672000+00:00
Original source

awesome that worked

rektbyfaith
Administrator
0
06-08-2021, 03:14 PM
#9
Archived author: Demonic • Posted: 2021-06-08T15:14:38.738000+00:00
Original source

Cool, glad to hear that Saves me time with making a quest and then testing the AI
rektbyfaith
06-08-2021, 03:14 PM #9

Archived author: Demonic • Posted: 2021-06-08T15:14:38.738000+00:00
Original source

Cool, glad to hear that Saves me time with making a quest and then testing the AI

rektbyfaith
Administrator
0
06-08-2021, 03:15 PM
#10
Archived author: Toggy • Posted: 2021-06-08T15:15:24.130000+00:00
Original source

the only issue with that i need to figure out is if theres another player standing in the area and is closer than the player with the quest
rektbyfaith
06-08-2021, 03:15 PM #10

Archived author: Toggy • Posted: 2021-06-08T15:15:24.130000+00:00
Original source

the only issue with that i need to figure out is if theres another player standing in the area and is closer than the player with the quest

Pages (2): 1 2 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)