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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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