[10536] Extend SCRIPT_COMMAND_TEMP_SUMMON_CREATURE to set summoned as active object

Field data_flags 0x01 will enable active state

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2010-09-25 13:34:48 +02:00
parent 88fca158f8
commit 541098168d
4 changed files with 6 additions and 2 deletions

View file

@ -137,6 +137,7 @@ spell_scripts
10 SCRIPT_COMMAND_TEMP_SUMMON_CREATURE source = any (summoner)
* datalong = creature entry
* datalong2 = despawn_delay
* data_flags = summon_as_active_object = 0x01
11 SCRIPT_COMMAND_OPEN_DOOR source = unit
* datalong = db_guid