Raised This Month: $ Target: $400
 0% 

set_pev vs set_kvd


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Orangutanz
Veteran Member
Join Date: Apr 2006
Old 04-18-2007 , 17:22   Re: set_pev vs set_kvd
Reply With Quote #1

set_kvd can setup more advanced properties on entities which set_pev doesn't have access too.

Example of this would be creating a breakable entity, you can set the breakable model (glass, wood, metal etc) with set_kvd.

To find out values which are usable with different types of entities you need to look into the mod's fgd file.
__________________
|<-- Retired from everything Small/Pawn related -->|
You know when you've been Rango'd
Orangutanz is offline
Vet
Veteran Member
Join Date: Jul 2006
Location: I|O wa
Old 04-18-2007 , 22:38   Re: set_pev vs set_kvd
Reply With Quote #2

Got it, I think. I've always used the fm_set_kvd / fm_DispatchSpawn pair to create my entities. But then noticed that many others used set_pev to do it. So I thought maybe I was missing something.

The one part that threw me was the 'firing' of the kvd. But now that I look at the include, I've always used 'fm_set_kvd' which does the 'firing' for me.

Thanx !
__________________
=====================================
- My Plugins -
=====================================
Vet is offline
Send a message via MSN to Vet
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:54.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode