ken_13
11-12-2009, 10:34 AM
hi ,
i want to do these but can't please help me :
1- i want to write some function like this :
function dosome()
{
// as simple as it is
float x = 2+2;
}
but where can i put this .
2- the file that i create for writing script in it must name of the class that i declare in it . ( i want to do something ele !!! )
3- when i put two class definition in one file it cause error ( i think because of problem Number-2 )
4- where can i find the list of the method that an object have ?
( like this : StaticMeshComponent.AddImpulse(...) )
5- explain clearly to me that how can i bind a key to a function and where is the place that i must write them ?
Thank you .
i want to do these but can't please help me :
1- i want to write some function like this :
function dosome()
{
// as simple as it is
float x = 2+2;
}
but where can i put this .
2- the file that i create for writing script in it must name of the class that i declare in it . ( i want to do something ele !!! )
3- when i put two class definition in one file it cause error ( i think because of problem Number-2 )
4- where can i find the list of the method that an object have ?
( like this : StaticMeshComponent.AddImpulse(...) )
5- explain clearly to me that how can i bind a key to a function and where is the place that i must write them ?
Thank you .