Re: [TUT] Entities: what they are and how to use them
No, read the parameters:
I don't know what exactly you meant by "name" but if you didn't mean something else, you'd put "name" in pszField. |
Re: [TUT] Entities: what they are and how to use them
Try with field "classname" and value:"func_button"
|
Re: [TUT] Entities: what they are and how to use them
Quote:
|
Re: [TUT] Entities: what they are and how to use them
PHP Code:
Sorry If I am wasting your time |
Re: [TUT] Entities: what they are and how to use them
The parameters I gave you were for the VM. Here's how you read them:
PHP Code:
However, if I wanted to open a door when this button is used, I would set this button's target to the door's targetname. I'm not sure about what you're trying to do, but I can't see an reason for needing a targetname on a button. |
Re: [TUT] Entities: what they are and how to use them
Ah, pev_target is what I need :mrgreen:.
Haven't done mapping for weeks :oops:. Thank you so much for your time and patience. :up: +Karma |
Re: [TUT] Entities: what they are and how to use them
Getting an error compiling this
undefined symbol "EngFunc_FindEntByString" |
Re: [TUT] Entities: what they are and how to use them
EngFunc_FindEntityByString
|
Re: [TUT] Entities: what they are and how to use them
Thanks!
|
Re: [TUT] Entities: what they are and how to use them
Is there a specific order when setting values to custom ents?
For eg... Create ent Set classname Set origin, size, movetype, solid, velocity Set health, angles Etc... I remembered one time, one of my ent was not being made as I was playing around with the order of values being set for my ent. Any advice on this would be great! |
All times are GMT -4. The time now is 03:59. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.