As you can see, if he dies, he spawns again. It's working but when he respawns, he is reacting to enemies. Dunno why the line is not working for the 2nd time...
tltrude wrote:My guess would be that the second spawn has an index number because the first one, although dead, is still using the targetname.
Yes, sir! That's what I was thinking... There's something strange when I kill him while the previous dead body is still on the floor...and sometimes I touch him and he don't react...I said sometimes...
And jv, that solution came into my mind but that's not what I want exactly...But I'll do this if nothing else works.
jv, where do you get all these amazing commands? g_entinfo, g_gametype, etc. how do you know all this?
and i'm serious, do you study g_allclasses or something?
Yup g_allclasses.html pretty much tells you what you can and can't do with scripting... also take a look at the cvar docs over at www.ritualistic.com
(games->fakk2->editing).
Why are you using the older one? The spearhead SDK came with one that is 2 years newer (2002). It has both versions of the cvar doc combined.
SDK\docs\MOH_game_commands_and_variables.html
For Actors::
G_entinfo 1
Green Line is between the actor?s centroid and his m_vHome position
Green circle represents his leash distance away from his home position
Red circle is his m_fMinDistance
Blue circle is his m_fMaxDistance
G_entinfo 2
Red circle is his hearing
Blue circle is his sight
G_entinfo 4 ? show all actors all the time
Cvar Documentation
NOTE: The CVAR documentation was created from an earlier iteration of the engine. Approximately 95% of the commands still work for MOHTA and are therefore valid.
- Version 1.1, June 16, 2002
- Version 1.0, March 6, 2000
G_entinfo is cheat protected ...So I'llhave to put cheats on the game? buuaa'...I don't even know how to do it...I heard about putting something on the shortcut of the game, but there's any other easy way to do it?
how do you un-cheat protect stuff like cg_3rd_person and r_showtris 2? i'm trying to change the allied model to a paratrooper but since the sleeve is all but identical to stock dude, i can't tell unless i use 3rd person view...