Jump to content

How do I make a Fightclasses into C code Scripting?


Bear T.O.E.

Recommended Posts

I am wondering how to make any fightclass into C Code Scripting so I can Program them a lot easier. And is there a way to Make C code Fightclasses into LUA Scripting?

Link to comment
Share on other sites

Hello,

 

You cannot use C but you can use C#.net or VB.net for code FightClass.

 

You can found sample here: 

 

For use lua, you need to use Lua.LuaDoString("COMMAND", "VAR WITH RETURN VALUE"):

string money = Lua.LuaDoString("money  = GetMoney()", "money");

For an best sample of  fightclass you can look this code: Tnb_CombatClass.zip (it is thenoobbot fightclass, no wrobot, but code is similary).

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...