|
From: <no...@gi...> - 2011-01-22 13:05:16
|
Branch: refs/heads/master Home: https://github.com/Warzone2100/warzone2100 Commit: f30c15bf20fd277279904e2eab7a59ebe234e029 https://github.com/Warzone2100/warzone2100/commit/f30c15bf20fd277279904e2eab7a59ebe234e029 Author: Per Inge Mathisen <pe...@wz...> Date: 2011-01-22 (Sat, 22 Jan 2011) Changed paths: M data/base/multiplay/skirmish/semperfi.slo M src/game.cpp M src/scriptfuncs.cpp M src/scriptfuncs.h M src/scripttabs.cpp Log Message: ----------- New script function BASEOBJ getDerrick(int) that returns indexed derrick objects. Can be iterated until it returns a NULLOBJECT. Modify semperfi to use this function for attacks of opportunity against undefended oil derricks. |