Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] entry id or -guid?

[DiscordArchive] entry id or -guid?

[DiscordArchive] entry id or -guid?

Pages (3): 1 2 3 Next
rektbyfaith
Administrator
0
08-21-2022, 05:15 PM
#1
Archived author: bandysc • Posted: 2022-08-21T17:15:37.799000+00:00
Original source

entry id or -guid?
rektbyfaith
08-21-2022, 05:15 PM #1

Archived author: bandysc • Posted: 2022-08-21T17:15:37.799000+00:00
Original source

entry id or -guid?

rektbyfaith
Administrator
0
08-21-2022, 05:15 PM
#2
Archived author: Krutok • Posted: 2022-08-21T17:15:51.222000+00:00
Original source

both
rektbyfaith
08-21-2022, 05:15 PM #2

Archived author: Krutok • Posted: 2022-08-21T17:15:51.222000+00:00
Original source

both

rektbyfaith
Administrator
0
08-21-2022, 05:18 PM
#3
Archived author: Krutok • Posted: 2022-08-21T17:18:48.269000+00:00
Original source

If I edit an npc, then I can only edit the entry with creature script, but not the guid. There is a function missing in the editor, so that if you only want to give the smart script to an npc with guid XXX, you can also save it that way
rektbyfaith
08-21-2022, 05:18 PM #3

Archived author: Krutok • Posted: 2022-08-21T17:18:48.269000+00:00
Original source

If I edit an npc, then I can only edit the entry with creature script, but not the guid. There is a function missing in the editor, so that if you only want to give the smart script to an npc with guid XXX, you can also save it that way

rektbyfaith
Administrator
0
08-21-2022, 05:19 PM
#4
Archived author: Krutok • Posted: 2022-08-21T17:19:46.603000+00:00
Original source

the Creature script by guid function is missing
rektbyfaith
08-21-2022, 05:19 PM #4

Archived author: Krutok • Posted: 2022-08-21T17:19:46.603000+00:00
Original source

the Creature script by guid function is missing

rektbyfaith
Administrator
0
08-21-2022, 05:19 PM
#5
Archived author: bandysc • Posted: 2022-08-21T17:19:50.831000+00:00
Original source

it is not
rektbyfaith
08-21-2022, 05:19 PM #5

Archived author: bandysc • Posted: 2022-08-21T17:19:50.831000+00:00
Original source

it is not

rektbyfaith
Administrator
0
08-21-2022, 05:19 PM
#6
Archived author: bandysc • Posted: 2022-08-21T17:19:53.088000+00:00
Original source

you need to type -guid
rektbyfaith
08-21-2022, 05:19 PM #6

Archived author: bandysc • Posted: 2022-08-21T17:19:53.088000+00:00
Original source

you need to type -guid

rektbyfaith
Administrator
0
08-21-2022, 05:19 PM
#7
Archived author: bandysc • Posted: 2022-08-21T17:19:58.374000+00:00
Original source

when selecting the creature
rektbyfaith
08-21-2022, 05:19 PM #7

Archived author: bandysc • Posted: 2022-08-21T17:19:58.374000+00:00
Original source

when selecting the creature

rektbyfaith
Administrator
0
08-21-2022, 05:21 PM
#8
Archived author: Whomadeit • Posted: 2022-08-21T17:21:31.069000+00:00
Original source

works great <@209317995057643521>
rektbyfaith
08-21-2022, 05:21 PM #8

Archived author: Whomadeit • Posted: 2022-08-21T17:21:31.069000+00:00
Original source

works great <@209317995057643521>

rektbyfaith
Administrator
0
08-21-2022, 05:21 PM
#9
Archived author: Whomadeit • Posted: 2022-08-21T17:21:32.170000+00:00
Original source

thanks
rektbyfaith
08-21-2022, 05:21 PM #9

Archived author: Whomadeit • Posted: 2022-08-21T17:21:32.170000+00:00
Original source

thanks

rektbyfaith
Administrator
0
08-21-2022, 05:21 PM
#10
Archived author: Krutok • Posted: 2022-08-21T17:21:58.360000+00:00
Original source

<@149273370838433793> -- Kanrethad smart ai
SET @ENTRY := 29;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY;
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = @ENTRY;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(@ENTRY, 0, 0, 0, 37, 0, 100, 0, 0, 0, 0, 0, 4, 23333, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On AI initialize - Self: Play direct sound 23333 to every player in visibility range of Self');


DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 22 AND `SourceEntry` = 29 AND `SourceId` = 0;
rektbyfaith
08-21-2022, 05:21 PM #10

Archived author: Krutok • Posted: 2022-08-21T17:21:58.360000+00:00
Original source

<@149273370838433793> -- Kanrethad smart ai
SET @ENTRY := 29;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY;
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = @ENTRY;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(@ENTRY, 0, 0, 0, 37, 0, 100, 0, 0, 0, 0, 0, 4, 23333, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On AI initialize - Self: Play direct sound 23333 to every player in visibility range of Self');


DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 22 AND `SourceEntry` = 29 AND `SourceId` = 0;

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