what about PA scripting?
Moderator: Moderators
-
Master-Of-Fungus-Foo-D
- Muffin Man
- Posts: 1544
- Joined: Tue Jan 27, 2004 12:33 am
- Location: cali, United States
what about PA scripting?
Is it an different than regular AA or SH or BT scripting? How would you script something simple, but PA related? like binding the player to a raft and landin' im on a beac or something?
from the code posted by Tltrude
i'd say it's the same with minor adjustments, perhaps they've implemented primitive varaibles? can it be true? nope. i was wrong.
so yeah. looks the same.
you'll have diff model values etc of course.
Code: Select all
// if developer mode is on, start when anyone
// enters the game.
if (int (getcvar developer))
waitthread wait_for_anyone
// otherwise start when there is at least 1
// person on each team.
else
level waittill roundstart
end
//-----------------
wait_for_anyone:
//-----------------
// this thread terminates when anyone has selected a
// team and before their weapon is selected.
// spin loop here until at least 1 player has
// joined a team.
while (1)
{
for (local.i=1; local.i<=$player.size; local.i++)
{
if ($player[local.i].dmteam == "axis" || $player[local.i].dmteam == "allies")
end
}
waitframe
}
end
so yeah. looks the same.
you'll have diff model values etc of course.
Moderator
۞
Abyssus pro sapientia
Olympus pro Ignarus
۞
AND STUFF™ © 2006
۞
Abyssus pro sapientia
Olympus pro Ignarus
۞
AND STUFF™ © 2006
- General Death
- Moderator
- Posts: 1116
- Joined: Thu Nov 21, 2002 2:33 am
- Location: NC, USA
- Contact:
-
Master-Of-Fungus-Foo-D
- Muffin Man
- Posts: 1544
- Joined: Tue Jan 27, 2004 12:33 am
- Location: cali, United States
- General Death
- Moderator
- Posts: 1116
- Joined: Thu Nov 21, 2002 2:33 am
- Location: NC, USA
- Contact:

