bots
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@300 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
+10
-1
@@ -37,7 +37,16 @@ void settag(int tag, int type) // set all cubes with "tag" to space, if
|
||||
};
|
||||
|
||||
void resettagareas() { settag(0, 0); }; // reset for editing or map saving
|
||||
void settagareas() { settag(0, 1); loopv(ents) if(ents[i].type==CARROT) setspawn(i, true); }; // set for playing
|
||||
// Modified by Rick
|
||||
//void settagareas() { settag(0, 1); loopv(ents) if(ents[i].type==TRIGGER) setspawn(i, true); }; // set for playing
|
||||
|
||||
void settagareas() // set for playing
|
||||
{
|
||||
settag(0, 1);
|
||||
loopv(ents) if(ents[i].type==CARROT) setspawn(i, true);
|
||||
if(ishost()) BotManager.PickNextTrigger();
|
||||
};
|
||||
// End mod
|
||||
|
||||
void trigger(int tag, int type, bool savegame)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user