Change hight of entities
Hey folks,
I want to change the y axis of an entity with 2 commands. Every time you execute one of the commands, it will move 1 unit up/down. How do I do that? Xan PS: I never scripted something for amxx... |
Re: Change hight of entities
Do you mean change its size or its origin?
|
Re: Change hight of entities
Code:
|
Re: Change hight of entities
Ah... Very well :)
Okay... And how do I reposition entities? I don't mean yourself... I mean the entity you are currently aiming at. How is that possible? Xan @Exolent: I thought it's impossible to change the size of entities Oo (at least point entities) |
Re: Change hight of entities
Sorry, I don't understand that code^^
Can you please explain: pev engfunc prameters of entity_[get/set]_vector Thanks in advance, Xan |
Re: Change hight of entities
|
Re: Change hight of entities
I don't understand this page you sent me... Sorry^^
I don't understand the most documentations... however As far as i can see, this only set's the position of the entity "ent"... How do I get the entity, the command executing player(or spectator), is looking at? This way I can store it in "ent"... I think I've understood the Engine way... Long text... my question for short: How to store the entity, you are looking at, in a variable? Xan |
Re: Change hight of entities
Quote:
Code:
I suggest you to scroll all the functions on the both links. :) |
Re: Change hight of entities
Ah... however^^
How do I store an entity in a variable? Xan |
Re: Change hight of entities
That's what I've done now:
Code:
#include <amxmodx>How do I do that? Have I forgot anything else? Please help, Xan |
| All times are GMT -4. The time now is 03:07. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.