Use act() in reactor scripts where possible, provide empty act() otherwise
"function hit()" has triggered on each reactor hit, while "function act()" is only triggered once it's destroyed or reached an end state
This commit is contained in:
@@ -20,11 +20,11 @@
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/*2618000.js - MagatiaPQ Beaker
|
||||
/*2618002.js - MagatiaPQ Door
|
||||
*@author Ronan
|
||||
*/
|
||||
|
||||
function hit() {
|
||||
function act() {
|
||||
var eim = rm.getEventInstance();
|
||||
|
||||
var isAlcadno = eim.getIntProperty("isAlcadno");
|
||||
|
||||
Reference in New Issue
Block a user