All pastes #542798 Raw Edit

CPP Item Script

public cpp v1 · immutable
·published 2007-06-05 22:42 UTC
rendered paste body
--         /\/\   __ _ _ __   __ _  ___ / _\ ___ _ __(_)_ __ | |_--        /    \ / _` | '_ \ / _` |/ _ \\ \ / __| '__| | '_ \| __|--       / /\/\ \ (_| | | | | (_| | (_) |\ \ (__| |  | | |_) | |_--       \/    \/\__,_|_| |_|\__, |\___/\__/\___|_|  |_| .__/ \__|--                           |___/                     |_|--                        A WHOLE NEW WORLD--         MangoScript - Bringing a whole new world to MaNGOSItemProto_TestScript = Mango.Scripts.Create('ItemProto_TestScript');ItemProto_TestScript:ForceLUA(); -- Don't use the CPP version if valid-- Define spells & yellsItemProto_TestScript.Spell1 = ???????;ItemProto_TestScript.Spell2 = ???????;ItemProto_TestScript.Spell3 = ???????;ItemProto_TestScript.Spell4 = ???????;ItemProto_TestScript.Yell1 = ???????;ItemProto_TestScript.Yell2 = ???????;ItemProto_TestScript.Yell3 = ???????;ItemProto_TestScript.Yell4 = ???????;function ItemProto_TestScript_OnClick(_Player, LUA)	-- Link the AI to the different scripts-- Note: Only the ones who use the Mango.Scripts method of scripting can use TEST_Threat_AITEST_Threat_AI:Register('ItemProto_TestScript');