|
2 registered members (alibaba, vicknick),
1,492
guests, and 4
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Pointers without any trace functions
[Re: exile]
#421926
04/28/13 08:34
04/28/13 08:34
|
Joined: Apr 2005
Posts: 4,506 Germany
fogman
Expert
|
Expert
Joined: Apr 2005
Posts: 4,506
Germany
|
Just define your own pointers:
entity* Player1; entity* Player2;
action aInitPlayer1() { Player1 = me; ... ... ... }
action aInitPlayer2() { Player2 = me; ... ... ... }
no science involved
|
|
|
Re: Pointers without any trace functions
[Re: MasterQ32]
#422200
05/04/13 13:43
05/04/13 13:43
|
Joined: Mar 2012
Posts: 927 cyberspace
Wjbender
User
|
User
Joined: Mar 2012
Posts: 927
cyberspace
|
Yeah basicly check through the list of entities wich are to be considered for interaction with the button and then check who among those entities are within a given radius of the button and then only can you simply trace for contact .. Well that's one way
Compulsive compiler
|
|
|
|
|
|