DispatchKeyValue woes
Im pretty new at this entity stuff, I have managed to get some stuff working, but am having trouble here
Code:
@PointClass base(Target) size(-16 -16 -36, 16 16 36) color(255 125 0) = ts_powerup : "TS powerup" Now, here is my code to spawn the ent I want, most of it was from AssKickR Code:
|
EDIT: I missed the part about the FGD file, my bad.
|
wrong Ryan
This ent is not an "info_target" it is a "ts_powerup" DELETE UR POST... IT IS TOTALLY OFFTOPIC AND WRONG!!!! |
hmm, yea I dont need the model, I need the functionality the ent provides... and AssKicr that seemed inaproprate, he was only trying to help
|
Create and Give Item will be in TS Module :P
Item needs some time to spawn so you can't remove it. Set task (1 sec ? )with ent as a parametr and then touch and remove it. |
sooo.. like this
PS: Bad Hal 9000: i was just telling him that what he said was wrong.. What is inaproprate about that? Code:
|
Code:
static cell AMX_NATIVE_CALL create_pwup(AMX *amx, cell *params){ // pwup ,origin[3] |
AssKicR the RED AND BOLD AND BIG TEXT! :P
Also, that code didnt spawn the ent, :( |
Bumpage, this doesnt work
Code:
|
key value pairs must be legit for the object you are creating, you cant just make up your own (what mod is this for???) You also must set the location of an entity before dispatchingspawn. If you are not sure what the valid key value pairs are for an entity, load a map in notepad or something (it'll take a while to load) and then search for the entity name. You should realize how entities are described in the map after you look at it for a bit and every entity's key value pair that is required will be listed. I notice that message is "" and its possible you dont even need the key value pair. Before messing with key value pairs however, try to recreate the entity that is on the map exactly at it is first.
|
| All times are GMT -4. The time now is 14:40. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.