Raised This Month: $ Target: $400
 0% 

Make my entites unique


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Obbin
Senior Member
Join Date: Mar 2005
Location: 192.168.1.3
Old 03-09-2006 , 02:16   Make my entites unique
Reply With Quote #1

How should i do to make entites (That i created) unique, but sill having the same classname.
Like if i have 5 entites width classname "MyEnt" and i want every ent to be recognizable as that entity.

Hope you understood and thx!
Obbin is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 03-09-2006 , 02:57  
Reply With Quote #2

You can use for example EV_INT_iuser1, EV_INT_iuser2, EV_INT_iuser3, EV_INT_iuser4 and store unique number.
VEN is offline
Obbin
Senior Member
Join Date: Mar 2005
Location: 192.168.1.3
Old 03-09-2006 , 09:38  
Reply With Quote #3

Uh, how?
Example?
Obbin is offline
Charr
Senior Member
Join Date: Jul 2005
Location: Long Island, New York, U
Old 03-09-2006 , 13:44  
Reply With Quote #4

Code:
entity_set_int(entity,EV_INT_iuser1,X)
X being your unique number
__________________
Charr is offline
Send a message via AIM to Charr Send a message via MSN to Charr
Reply


Thread Tools
Display Modes

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:23.


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