Jump to content


Need help scripting.


3 replies to this topic

#1 Sgt. Rho

    Kerbal Rocket Scientist

  • Project Leader
  • 6870 posts
  • Projects: Scaring Jebediah.

Posted 26 December 2009 - 14:05

'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.


#2 Genrail

    Semi-Pro

  • Project Team
  • 234 posts
  • Projects: Private Map Contractor

Posted 27 December 2009 - 06:14

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?
This place still exists?

#3 Sgt. Rho

    Kerbal Rocket Scientist

  • Project Leader
  • 6870 posts
  • Projects: Scaring Jebediah.

Posted 28 December 2009 - 01:43

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

#4 Sgt. Rho

    Kerbal Rocket Scientist

  • Project Leader
  • 6870 posts
  • Projects: Scaring Jebediah.

Posted 29 December 2009 - 01:35

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



2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users