|
Author
|
Message
|
|
Junior Member
|

07-24-2009
, 06:04
What does "NaN origin" mean?
|
#1
|
Hi!
Some part of my code returns
"Got a NaN origin on ent_test"
What does this mean? What is the most common error?
Sorry, but I aint got the source here - testing from a external computer.
But as I recall the commands I'm using
* register_touch("ent_test","player","touching" )
* ent_test = create_entity("info_target")
* entity_set_string(ent_TFlag, EV_SZ_classname, "ent_test")
* entity_set_model(ent_test, "models/vip/vip.mdl")
* entity_set_origin( ent_test , testPosition )
* entity_set_int( ent_test, EV_INT_solid, 1 )
* entity_set_int( ent_test, EV_INT_movetype, 6 )
And another problem is that the entity does not appear but I guess thats cause of the "NaN origin"-error?
|
|
|
|