04-25-2009, 09:07 PM
on the frame where you want to summon the bottle add this:
little explanaiton:
opoint generaly summons objects(except it's in the first frame of a sequence, so make sure it's in the second or smthing)
kind: 2 makes the summoned object apear in your hand, if you try to use kind: 1 it would "fly" away like... firen's ball or smthing similar
x and y are the coordinates where the object should apear, not so important in this case
action: 20 makes the object start at frame 20
dvx and dvy would move the object forwards/backwards, upwards/downwards, not important in this case
oid is the id of the object you want to summon
facing is the direction of the summoned object, 0 = forwards, 1 = backwards, 10 = facing to the right always(if you use 20/21 you'll create 2 objects, 30/31 - 3 objects, 40/41 - 4, etc.)
so...
in the other frames you'd need state 17 to make the character "drink" the bottle...
DC-Code:
opoint: kind: 2 x: 42 y: 81 action: 20 dvx: 0 dvy: 0 oid: 123 facing: 0 opoint_end: |
little explanaiton:
opoint generaly summons objects(except it's in the first frame of a sequence, so make sure it's in the second or smthing)
kind: 2 makes the summoned object apear in your hand, if you try to use kind: 1 it would "fly" away like... firen's ball or smthing similar
x and y are the coordinates where the object should apear, not so important in this case
action: 20 makes the object start at frame 20
dvx and dvy would move the object forwards/backwards, upwards/downwards, not important in this case
oid is the id of the object you want to summon
facing is the direction of the summoned object, 0 = forwards, 1 = backwards, 10 = facing to the right always(if you use 20/21 you'll create 2 objects, 30/31 - 3 objects, 40/41 - 4, etc.)
so...
in the other frames you'd need state 17 to make the character "drink" the bottle...