Raised This Month: $ Target: $400
 0% 

What does "NaN origin" mean?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Hayer
Junior Member
Join Date: Aug 2006
Old 07-24-2009 , 06:04   What does "NaN origin" mean?
Reply With Quote #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?
Hayer is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:21.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode