- Code: Select all
int i = 5;//Let's say I want to draw the fifth clone
draw_from(WhatDoIPutHere, 0, 0, 1);
int i = 5;//Let's say I want to draw the fifth clone
draw_from(WhatDoIPutHere, 0, 0, 1);
int id_of_clone = 5;
//Number can be whatever.
char temp_string[10];
//This can be however long you need it to be...
sprintf(temp_string, "name_of_clone.%i", id_of_clone);
//Modifies the temp string to include the number specified in the integer, change "name_of_clone" to whatever actor you're attempting to draw.
draw_from(temp_string, 0, 0, 1);
//Draws the actor using the clones ID we set using sprintf.
Users browsing this forum: No registered users and 1 guest