SAI & Condition

We lack a way to join Smart Scripts and the condition system.

CONDITION_SOURCE_TYPE_SMART_EVENT

SourceGroup: smart_script.id

SourceEntry: smart_script.entryorguid

?: smart_script.source_type (default to 0 - creature)

For the event to be able to occur or proc the condition must be met.

My C++ skills, if any, aren’t enough to implement this. Anyone is free to try and post smarter ideas.

You do know the condition system is built into SAI /emoticons/default_smile.png

You can check a condition for each event or each action.

Not sure why you would want to trigger a script from the condition system when a condition can be checked before the script is run. It accomplishes the same thing.

– Brian

“You can check a condition for each event or each action.”

Exactly, how?

thats new 2 me 2 /emoticons/default_smile.png

anyway both systems should be re-organized