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

Check TEXTURES of 3D Floor with script (UDMF)

Recommended Posts

CheckActorFloorTexture checks for what floor some actor is standing on basically, it does not check the floor without one.

 

I tried your scenario out and was able to do it like this: I put a MapSpot(it's invisible) actor where the gun is supposed to spawn and gave it a tid(in my case 2). Then when I used the script below on the button, it worked:

 

script 1 (void)
{
    if(CheckActorFloorTexture(2, "BLOOD1"))
    {
        SpawnSpot("Shotgun", 2);
    }
}

Share this post


Link to post
19 minutes ago, Rifleman said:

CheckActorFloorTexture checks for what floor some actor is standing on basically, it does not check the floor without one.

 

I tried your scenario out and was able to do it like this: I put a MapSpot(it's invisible) actor where the gun is supposed to spawn and gave it a tid(in my case 2). Then when I used the script below on the button, it worked:

 

script 1 (void)
{
    if(CheckActorFloorTexture(2, "BLOOD1"))
    {
        SpawnSpot("Shotgun", 2);
    }
}

Hello my friend, I tried here and it doesn't work, 

CHECKTEST.rar

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
×