Jump to content
Sign in to follow this  
Oxxy

Make bindatcmd work with atcommand script command

Recommended Posts

so the title says it.

Make bindatcmd work with atcommand script command.

 

for example:

 

bindatcmd "showmvp", "showmvp::OnCall";

 

then

 

 

OnPCLoginEvent: atcommand "@showmvp";

 

and aswell if its possible make these command add to @commands list.

would be quiet useful

Share this post


Link to post
Share on other sites

I guess you can just attach player and run doevent "<NPC object name>::<event label>";

Share this post


Link to post
Share on other sites

I guess you can just attach player and run doevent "<NPC object name>::<event label>";

I need it to work exactly like @atcommand, but I don't really want to create tons of source-atcommands that are calling npc events.

Edited by Oxxy

Share this post


Link to post
Share on other sites
---------------------------------------*useatcmd "command";This command will execute an atcommand binding on the attached RID from a script. The three .@atcmd_***** variables will NOT be set when invoking scripts-atcommands this way.---------------------------------------

 

isn't this enough?

Share this post


Link to post
Share on other sites

 

---------------------------------------*useatcmd "command";This command will execute an atcommand binding on the attached RID from a script. The three .@atcmd_***** variables will NOT be set when invoking scripts-atcommands this way.---------------------------------------

 

isn't this enough?

Oh, didn't know about it, tho would be anyway useful to show these commands in @commands.

Share this post


Link to post
Share on other sites

I agree, but its has been already suggested here :P

;-) Didn't know about the theme, so delete theme or w/e

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.