Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » scripts.dll 1.0 RC2 is out
scripts.dll 1.0 RC2 is out [message #-984616] Mon, 27 January 2003 09:56 Go to previous messageGo to previous message
Anonymous
I might have found the problem, but I'm a n00b at C++ so I may be wrong.

When the player captures the flag, part of the "if" control statement for this changes the status of the GotFlag value to true, which the code says "GotFlag = true."

In the updated version, capturing the flag requires that the GotFlag value be set to true, however, your code in this instance contains a double equal sign, using an equality operator rather than the assignment operator as before.

GotFlag == true

The prerequisite for capturing the flag is never completed, and so the player is unable to capture the flag. Change the code so that they have matching operators, and I think it should work.

[ January 27, 2003, 16:57: Message edited by: SomeRhino ]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Screw it, everyone else is doing, I want to too :P
Next Topic: How to add buildings???
Goto Forum:
  


Current Time: Mon Dec 23 02:13:39 MST 2024

Total time taken to generate the page: 0.00817 seconds