i don't know if this is having any sense to you but what i see in the image is this
you call function with name"t2" but you have creation of sprites on function with name"t1" ... maybe is something we are missing?
What "t2" is supposed to do? and why is "t1" function there? how is "t1" called? and again, as i mentioned to another function related question, having a wait 4 seconds in the trigger once function call doesn't work like that, you have to replace the wait 4 seconds with a timer being it a global number or the timer plugin.
atleast that is how i solved that wait "n" seconds issue... mainly cause functions calls and anything else happen on a tick bassis, adding a seconds based delay inside a trigger once tick condition makes the function not trigger properly....
creature_spawn here is the wait "n" seconds workaround inside a function call.
hope it helps.
Many thanks for the example.
There are no problems with functions, since I built them in to simplify the work.
The point is not in functions, but in the fact that when a copy of an object is created, it applies all the parameters to itself. And I do not understand how to make a copy work separately.
We have:
Player
Object 1
Object 1 (copy)
Imagine that we first have a Player then after 10 meters Object 1 and after 20 meters Object 1 (copy)
When the Player approaches Object 1, then (for example) object 1 must create a new object (for example, object 2) on itself.
And here dances begin with a tambourine, since the object object 2 is created immediately and on object 1 and on object 1 (copy).
I put the function to randomly select a copy of the object, but this led to the fact that as soon as the Player touches object 1, then object 2 can be created arbitrarily.
And it is necessary that object 2 is created each time on the copy of object 1 to which the Player interacts.
---
I will try to more fully explain the problem.
Imagine that the player has 5 sheets of white paper. (all these papers are copies), further, when interacting with one of the 5 sheets of paper, that is, with one of the copies, this copy creates the text on itself. That is, only that copy of the paper with which the player interacts creates text on itself. If the player in turn will interact with all 5 sheets of paper, then each of them in turn will create a different text.