1 |
var stamp = obj_wild_east_stamp |
2 |
part_smokesys = part_system_create() |
3 |
part_smokeEm = part_emitter_create(part_smokesys) |
4 |
part_system_depth(part_smokesys, obj_wild_east_stamp.depth) |
5 |
part_smoke = part_type_create() |
6 |
part_type_sprite(part_smoke, 665, 0, 1, 1) |
7 |
part_type_size(part_smoke, 0.8, 1, 0, 0) |
8 |
part_type_colour2(part_smoke, 8421504, 8421504) |
9 |
part_type_alpha2(part_smoke, 0.8, 0) |
10 |
part_type_speed(part_smoke, 3, 3, 0, 0) |
11 |
part_type_direction(part_smoke, 0, 359, 0, 0) |
12 |
part_type_orientation(part_smoke, 0, 359, random_range(-2, 2), 0.1, 1) |
13 |
part_type_life(part_smoke, 30, 30) |
14 |
part_type_blend(part_smoke, 1) |
15 |
part_emitter_region(part_smokesys, part_smokeEm, stamp.bbox_left, stamp.bbox_right, stamp.bbox_top, stamp.bbox_bottom, 1, 1) |
16 |
part_emitter_burst(part_smokesys, part_smokeEm, part_smoke, 16) |