Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // This script creates objects along a specified path
- // argument0 = path name
- // argument1 = number of objects to be used in shape
- // argument2 = angle of path/shape
- // argument3 = size of the shape (1 is original size)
- // argument4 = object used in the shape
- for(i=1; i<=argument1; i+=1){
- a = instance_create(x,y,argument4);
- with(a){
- b = path_start(argument0,0.00000000000000000000001,1,false);
- b.path_orientation = argument2;
- b.path_scale = argument3;
- }
- a.path_position = i/argument1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement