←  Map Making

Fallout Studios Forums

»

Need help scripting.

Sgt. Rho's Photo Sgt. Rho 26 Dec 2009

'ello.

I am trying to script the "capture the factory" mode for Advanced Warfare, but the scripts don't work. The plan was to have a "control node" building, I named it "N1" in the WB, and some building near it that pass to whoever captures that node, I named them "N1_WF", "N1_Barrs" and "N1_NY". The script is more or less "IF <this player> Garrisons building <N1>" THEN "Pass control of <N1_WF> to <This Player>", same for N1_Barrs and N1_NY. But when I capture the node, nothing happens.

Ideas?

PS: This is for Red Alert 3.
Edited by Sargeant Rho, 26 December 2009 - 14:08.
Quote

Genrail's Photo Genrail 27 Dec 2009

Hi I don't know much about ra3 but I kind of know from zh that when you have a <this player> script you need to put it in all the players folders and not just one. Does that help?
Quote

Sgt. Rho's Photo Sgt. Rho 28 Dec 2009

Hmm, I will try it. But in CnC3 for example, a script almost identical to that one worked perfectly without being in all folders...
Quote

Sgt. Rho's Photo Sgt. Rho 29 Dec 2009

I managed to make it work now, I only had to move the scripts to the player folders.
Quote