Re: How do you find owner of a newly bought tank? [message #178673 is a reply to message #177559] |
Thu, 10 November 2005 12:21 |
dead6re
Messages: 602 Registered: September 2003
Karma:
|
Colonel |
|
|
Welcome to the untruely unclever way of detecting who is the owner of a new tank.
On the tanks object in object.aow you attach a script and add a void created. Then get this to go into the FDS log or DDE.
Wow, we figured how to find out what preset was created!!!
Now, remember that the FDS can tell us who purchased a vehicle?
So now,
Either
1) We find that a new preset has been created for nod or gdi so we wait to find out which team purchased that veichle because we can store which team the person is one.
2) We find that someone has purchased a new vehicle but we dont know what so we wait for the scripts.dll message and find out what preset it was.
One we have both message, we can output a nice combined string. Tad Ta!
Let all your wishes be granted except one, so you will still have something to strieve for.
|
|
|