Knightware Lorewaster Posted September 15, 2021 Hello my friends, i want check textures of 3D Floor for appear itens on top, I using "CheckActorFloorTexture" in the script, but, not work's... Please Help! 0 Share this post Link to post
Rifleman Posted September 15, 2021 (edited) 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); } } 0 Share this post Link to post
Knightware Lorewaster Posted September 15, 2021 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 0 Share this post Link to post
Rifleman Posted September 15, 2021 Works just fine for me - you just need to move the MapSpot a bit higher: 0 Share this post Link to post
Knightware Lorewaster Posted September 15, 2021 4 minutes ago, Rifleman said: Works just fine for me - you just need to move the MapSpot a bit higher: WOW!!! I'ts Worked!!! Thank you master!!!!! 2 Share this post Link to post
Knightware Lorewaster Posted September 15, 2021 (edited) I work Thanks!!! Edited September 15, 2021 by Knightware Lorewaster 0 Share this post Link to post