Jump to content

Event Scripts


Guest digitalni

Recommended Posts

Right now we have 15 commands in event_scripts, but none of them supports despawning of an object or creature.

There are quests where creatures should be despawned (for a few seconds) and then they should respawn back automatically.

For example, this one http://www.wowhead.com/?quest=10808.

So, having a command opposite to TEMP_SUMMON_CREATURE would be great.

Any comments?

Link to comment
Share on other sites

Could be done with EventAI and action 41

EventAI need this

ACTION_T_SEND_SCRIPTS for send its own scripts table

ACTION_T_TARGET & EVENT_T_TARGET possible define a target such as spell_script_target table to trigger event such as EVENT_T_SPELLHIT

then allow interact scripts between npc (talk, move, etc...) allow boss script to respawn GO type chest, doors on death, encounter start etc...

would be much less work to do for scriptdev2 team.

Link to comment
Share on other sites

So, having a command opposite to TEMP_SUMMON_CREATURE would be great.

Any comments?

Yes, it would be useful. If so, it would be a SCRIPT_COMMAND_FORCED_DESPAWN, with at least creature guid as parameter. Despawning a GO in a similar way would be wrong though, it would need a more generic SCRIPT_COMMAND_GO_USE, so the GO is processed properly.

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use