The invention discloses a
state control method and device. The method comprises the steps that a
server detects an operation execution event, and the operation execution event is used for requesting for operating a first object in first application; the
server judges whether the next node of a current node of the first object in a mixing state
machine is a first state node or a first behavior
tree node, nodes in the mixing state
machine comprise state nodes and behavior tree nodes, and a state skip relationship exists between the nodes in the mixing state
machine; if it is judged that the next node of the current node is the first state node, the
server executes operation in a first state corresponding to the first state node on the first object; if it is judged that the next node of the current state is the first behavior
tree node, the server executes operation in a first behavior tree corresponding to the first behavior
tree node on the first object. The method solves the technical problem that when a
finite state machine is used in the prior art for controlling, operation executing efficiency of individuals is low.