I have a quick ( possiably an easy) question about the LowLevel command
GetGroundTexture();
I'm tring to use this with a ( if ) factor.
GetGroundTexture();
if(GetGroundTexture("Grass.bmp")) // I also tried ( "Grass" ) with no .bmp
{
Do cool stuff.
}
I don't seem to be using this the right way. Nothing is happening
when the pawn walks over the brush with the texture.
Could anyone give me an example how to use this feature?
Thanks a million.
GetGroundTexture().. Not sure how to use....
- QuestOfDreams
- Site Admin
- Posts: 1520
- Joined: Sun Jul 03, 2005 11:12 pm
- Location: Austria
- Contact:
GetGroundTexture does not take any parameters it just returns the name of the current texture beneath the pawn
if I remember correctly it should work like this
if I remember correctly it should work like this
Code: Select all
TEXTURE [Grass]
if(GetGroundTexture() = TEXTURE)
{
//do cool stuff
}
Demo072e (1.5MB)- Ingame map, different foot sounds, displacement and bump maps in Gimp, keeping scripts from running.
http://terrymorgan.net/download.htm
http://terrymorgan.net/download.htm