How to affect only axis plz.

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
agentmad007
Brigadier General
Posts: 570
Joined: Tue Feb 24, 2004 3:52 pm

How to affect only axis plz.

Post by agentmad007 »

why the command physics_off freeze allies and aixs plz ????

Code: Select all

while (1) 
{		
	for (local.i = 1; local.i<=$player.size; local.i++) 
	{
		if ($player[local.i].dmteam == "axis") 
		{
			if (Isalive $player[local.i] == 0) 
			{
				$player physics_off
			}
		}
	}
	wait .1
}
thx
Deadly and slient.
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

$player physics_off

shall be

$player[local.i] physics_off
Image
agentmad007
Brigadier General
Posts: 570
Joined: Tue Feb 24, 2004 3:52 pm

Post by agentmad007 »

yeah i also tried this command , it freeze allies also .
Deadly and slient.
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

No it doesn't :?
Image
lizardkid
Windows Zealot
Posts: 3672
Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT

Post by lizardkid »

Code: Select all

if($player[local.i].dmteam == "Allies")
{
$player[local.i] physics_off
}
i htink, you never specified a team there jv
Moderator

۞
Abyssus pro sapientia
Olympus pro Ignarus
۞

AND STUFF™ © 2006
agentmad007
Brigadier General
Posts: 570
Joined: Tue Feb 24, 2004 3:52 pm

Post by agentmad007 »

nah jv is right , it work .

All this week i tried at least 50 architectures and all gave me the same effect .

I was just stupid i tried the script alone so when i was freezed, i switched to other team and get freezed also...then i thought it doesnt work.

today i tested with someone else and that worked fine ......


:oops: :oops: :oops: sorrrrry :oops: :oops: :oops:
Deadly and slient.
Post Reply