PDA

View Full Version : selecting the player


moetah
08-07-2008, 06:37 AM
Hey all,

I got a little problem wich annoys the **** out of me. I would be very thankfull if someone could help me with it.
Whenever i try to script something i don't know how to select the player that is affected by it. When i made something i can only choose between skirmish armies, <local player>, <this player>, <this player's enemy> and PlyrCivilian. I've tried using those but they all seem not to work. I hope someone has the answer.

chaoscontrol512
08-09-2008, 01:10 AM
You're being really vague here. You're saying you're trying to script something. Well, what is "something"? What exactly are you trying to do?

moetah
08-09-2008, 05:35 AM
Basically when i do any scripting involving a human player. For example when i want to set someone's money or give the player general abbilities.

apple23
08-09-2008, 05:15 PM
You can't do any scripting with human players in a multiplayer environment, I believe.

It might be possible but I don't know how you would go about it.

moetah
08-10-2008, 10:34 AM
You can't do any scripting with human players in a multiplayer environment, I believe.

It might be possible but I don't know how you would go about it.
So i can't even set a players money or general abilities? That kind off disappoints me. Thanks for the help.

chaoscontrol512
08-10-2008, 03:17 PM
You can set a player's money by modifying the Skirmish.ini file in the Command & Conquer Generals Zero Hour Data folder in My Documents, but this affects all players, and I'm not sure if it works for multiplayer.

apple23
08-20-2008, 01:27 AM
Well I believe such things are possible with CNC3/KW, As well as Yuri's Revenge, but as far as I know, you can't do much scripting involving human players in multiplayer environments in Generals.