Fortress Forever

Go Back   Fortress Forever > Search Forums

Showing results 1 to 4 of 4
Search took 0.00 seconds.
Search: Posts Made By: Crazycarl
Forum: Lua 08-19-2012, 11:13 PM
Replies: 112
Views: 41,804
Posted By Crazycarl
Just put IncludeScript("base_teamplay"); at...

Just put
IncludeScript("base_teamplay");
at the top and that gives you all the basic stuff like spawns and bags.

Then you need to set team limits:

SetPlayerLimit(Team.kBlue, 0)...
Forum: Lua 10-28-2010, 12:37 AM
Replies: 112
Views: 41,804
Posted By Crazycarl
Use base_score_trigger: ontrigger. Take out all...

Use base_score_trigger: ontrigger. Take out all the enable/disable code. Go into hammer and look at your trigger. Set the "Delay Before Reset" key to ten seconds or whatever.
Forum: Lua 03-30-2010, 12:06 AM
Replies: 112
Views: 41,804
Posted By Crazycarl
Just moved the spawn1...spawn4 declarations below...

Just moved the spawn1...spawn4 declarations below the validspawn stuff. They needs to be declared last so they can inherit that function.

Also, instead of

You could just do
Forum: Lua 03-06-2008, 11:28 PM
Replies: 112
Views: 41,804
Posted By Crazycarl
1. try function player_switchteam (player_entity,...

1. try function player_switchteam (player_entity, curteam, newteam)

You'll have to find out which value stands for spectator (my guess would be 4) and test newteam for that value. There might be...
Showing results 1 to 4 of 4

 
Forum Jump

All times are GMT. The time now is 09:22 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.