0615

From GTAMods Wiki
Revision as of 19:18, 5 January 2009 by Spaceeinstein (talk | contribs) (New page: {{OpCode | ini = 0615=1,%1d% | description = Defines the beginning of a sequence pack | p1 = Sequence pack handle | game = San Andreas | native = [[OPEN_SEQUEN...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{{games}}}


Description
Defines the beginning of a sequence pack
Syntax
{{{syntax1}}}
Parameter
Native analog
OPEN_SEQUENCE_TASK

This defines the beginning of a sequence pack. A sequence pack is a group of commands, usually tasks, between opcodes 0615 and 0616 that can be assigned to a character or multiple characters. The actor handle for tasks within the pack should be -1 if you want to your character to perform the task assigned ith the pack.

Example

This example shows how a task can be assigned to a character through the sequence pack.

 0615: define_AS_pack_begin 0@
 05BA: AS_actor -1 move_mouth 1 ms 
 05B9: AS_actor -1 stay_idle 1 ms lockY 1 lockF 0 time -1
 0616: define_AS_pack_end 0@
 0618: assign_actor 1@ to_AS_pack 0@
 061B: remove_references_to_AS_pack 0@

Keywords

action, sequence, task