Core/SmartScript: update ACTION_GO_SET_GO_STATE
GO_STATE_ACTIVE = 0, // show in world as used and not reset (closed door open) GO_STATE_READY = 1, // show in world as ready (closed door close) GO_STATE_ACTIVE_ALTERNATIVE = 2 // show in world as used in alt way and not reset (closed door open by cannon fire) Credits to Sunwell
This commit is contained in:
1 parent
0f734dc43a
commit
a2e01f386a
3 files changed
+22
-1
No files matched your search
@@ -552,8 +552,9 @@ enum SMART_ACTION
|
||||
SMART_ACTION_RANDOM_SOUND = 115, // soundId1, soundId2, soundId3, soundId4, soundId5, onlySelf
|
||||
SMART_ACTION_SET_CORPSE_DELAY = 116, // timer
|
||||
SMART_ACTION_DISABLE_EVADE = 117, // 0/1 (1 = disabled, 0 = enabled)
|
||||
SMART_ACTION_GO_SET_GO_STATE = 118, // state
|
||||
|
||||
SMART_ACTION_END = 118
|
||||
SMART_ACTION_END = 119
|
||||
};
|
||||
|
||||
struct SmartAction
|
||||
@@ -1020,6 +1021,11 @@ struct SmartAction
|
||||
uint32 flag;
|
||||
} goFlag;
|
||||
|
||||
struct
|
||||
{
|
||||
uint32 state;
|
||||
} goState;
|
||||
|
||||
struct
|
||||
{
|
||||
uint32 group;
|
||||
|
||||
Reference in new issue
Block a user