Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » How do you find owner of a newly bought tank?
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 Go to previous messageGo to previous message
dead6re is currently offline  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.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Scripts detect chat?
Next Topic: Sound name
Goto Forum:
  


Current Time: Tue Sep 03 10:16:07 MST 2024

Total time taken to generate the page: 0.00765 seconds