Updated for NWNEE 37-13
Updated for NWNEE 37-13. Updated NWNxEE scripts. CODI Core AI tweaks. Added Diamond Golem AI. Full compile. Updated release archive.
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
/// @brief Allows users to execute arbitrary Ruby from the game.
|
||||
/// @{
|
||||
/// @file nwnx_ruby.nss
|
||||
#include "nwnx"
|
||||
|
||||
const string NWNX_Ruby = "NWNX_Ruby"; ///< @private
|
||||
|
||||
@@ -13,11 +12,9 @@ string NWNX_Ruby_Evaluate(string sCode);
|
||||
/// @return The output of the call.
|
||||
string NWNX_Ruby_Evaluate(string sCode)
|
||||
{
|
||||
string sFunc = "Evaluate";
|
||||
|
||||
NWNX_PushArgumentString(sCode);
|
||||
NWNX_CallFunction(NWNX_Ruby, sFunc);
|
||||
return NWNX_GetReturnValueString();
|
||||
NWNXPushString(sCode);
|
||||
NWNXCall(NWNX_Ruby, "Evaluate");
|
||||
return NWNXPopString();
|
||||
}
|
||||
|
||||
/// @}
|
||||
|
Reference in New Issue
Block a user