Origin of an entity?
I've been searching around and I can't seem to find it, but how can I get the origin of a non-player entity by entid?
Thanks --- This is what I have so far: Code:
|
Code:
See if this works Remo, I do not know why you had it commented out |
My origin cannot be a float, and it keeps giving me errors when I try to use float_to_str.
Code:
|
Code:
|
Ok, I think this is wrong....keeps returning 0.
Code:
Code:
|
No clue as to what you're trying to do.
My guess: Code:
|
hmm, didn't work, said the player was not found with the cmd_target.
|
cmd_target does not function correctly with an id of 0. just use the function that it is built around:
Code:
[edit] this won't fix the problem of the player not being found |
Fixed it, I forgot to add the remove_ent.
Alright, How do I make it so that all of them are exploded at the same time. My FOR loop didn't work. Code:
Also, what does each one of these lines represent, I seen another topic with a description of these, but the lines didn't match up, so I was confused. Code:
|
I would suggest making an global variable such as
Code:
|
| All times are GMT -4. The time now is 20:17. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.