3. I do have a new problem now
I have made an escalator with different angels.
For example: the entity escalator_1_1 is turned on the x axis for 30 degree. So the angels should not be (0,0,0).
As a test I made this script:
Code: Select all
test = getent( "escalator_1_1", "targetname" );
if( isDefined( test ) )
IPrintLnBold( "test ^2is defined" );
else
IPrintLnBold( "^1FAIL" );
if( isDefined( test.angles ) )
IPrintLnBold( "test.angles ^2is defined = " + test.angles ); // the output is: test.angles [color=#00FF00]is defined = (0,0,0)[/color]
else
IPrintLnBold( "^1FAIL test.angles" );
SOLVED:
I have a few questions related to my deathrun map I am working on
Hopefully anyone can help me.
1. How can you make a sound that you only hear till a certain distance?
I have this in my csv:
En this in the script:burning_jet_engine,,burn/jet_engine.wav,0.7,0.75,,0.95,1.05,100,250,music,,,,,,,,,,,,,,,,50,100,0.55
Code: Select all
object[1] playSound( "burning_jet_engine" );
IPrintLnBold( "object playSound( burning_jet_engine )" );
2. How can you make an fx always visible from any distance?
Because now I have made a flame fx with a light effect in it. The light is visible from any distance only the flames aren't. The fire element in the fx is a Billboard Sprite.