Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Enderkevin13

Spawning The Trees With Thing_Spawn?

Recommended Posts

Enderkevin13 said:

So Can I Get An Example?

SpawnSpot("ClassnameOfTheTreeFromRealm667",1);

Then the tree will spawn on map spot with TID = 1.

Share this post


Link to post

If this is for your scrolling floor map in the other thread, you'll want to set up a while loop inside your script and have trees spawn every few seconds. You may also want to also think about removing old trees that are pushed to the end of the map, or they may begin piling up...

while(TRUE)
{
    <YOUR CODE GOES HERE>
    
    // Before iterating through the loop again, we must have a delay.
    // A delay of 35 = 1 second.
    delay(35);
}

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×