From e82b7b96b585f8b2204a9a257e2b3b2feda9ea83 Mon Sep 17 00:00:00 2001 From: TwistedJenius Date: Thu, 4 Oct 2012 02:27:55 -0500 Subject: [PATCH] Changed function name to fit standards. --- Templates/Full PhysX/game/scripts/server/aiPlayer.cs | 4 ++-- Templates/Full/game/scripts/server/aiPlayer.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Templates/Full PhysX/game/scripts/server/aiPlayer.cs b/Templates/Full PhysX/game/scripts/server/aiPlayer.cs index 4175c31c3..00001643b 100644 --- a/Templates/Full PhysX/game/scripts/server/aiPlayer.cs +++ b/Templates/Full PhysX/game/scripts/server/aiPlayer.cs @@ -87,7 +87,7 @@ function DemoPlayer::onEndSequence(%this,%obj,%slot) // AIPlayer static functions //----------------------------------------------------------------------------- -function AIPlayer::create(%name,%spawnPoint) +function AIPlayer::produce(%name,%spawnPoint) { // Create the demo player object %player = new AiPlayer() @@ -107,7 +107,7 @@ function AIPlayer::spawnOnPath(%name,%path) if (!isObject(%path)) return 0; %node = %path.getObject(0); - %player = AIPlayer::create(%name, %node.getTransform()); + %player = AIPlayer::produce(%name, %node.getTransform()); return %player; } diff --git a/Templates/Full/game/scripts/server/aiPlayer.cs b/Templates/Full/game/scripts/server/aiPlayer.cs index 4175c31c3..00001643b 100644 --- a/Templates/Full/game/scripts/server/aiPlayer.cs +++ b/Templates/Full/game/scripts/server/aiPlayer.cs @@ -87,7 +87,7 @@ function DemoPlayer::onEndSequence(%this,%obj,%slot) // AIPlayer static functions //----------------------------------------------------------------------------- -function AIPlayer::create(%name,%spawnPoint) +function AIPlayer::produce(%name,%spawnPoint) { // Create the demo player object %player = new AiPlayer() @@ -107,7 +107,7 @@ function AIPlayer::spawnOnPath(%name,%path) if (!isObject(%path)) return 0; %node = %path.getObject(0); - %player = AIPlayer::create(%name, %node.getTransform()); + %player = AIPlayer::produce(%name, %node.getTransform()); return %player; }