Jump to content
The Loot

Removing Commands via Script

Recommended Posts

When using something such as "p.RemoveCommand", is there a way to remove ALL commands, or will they have to be done individually? Well, found a work around by creating new prototypes instead of worrying about removing and adding all the commands.

 

Also, when deleting a prototype and replacing it with a new one, is there a way to make the new one automatically selected? Dug around in the US Army mod and found out the way. Thanks, Hoppah!

 

And another, how do you arrange the order in which commands are displayed? Order in editor, apparently. I swore it hadn't worked before.

 

Well, seems I answered all my questions. If anyone's interested in my methods, ask away.

Link to comment
Share on other sites

When using something such as "p.RemoveCommand", is there a way to remove ALL commands, or will they have to be done individually? Well, found a work around by creating new prototypes instead of worrying about removing and adding all the commands.

 

Also, when deleting a prototype and replacing it with a new one, is there a way to make the new one automatically selected? Dug around in the US Army mod and found out the way. Thanks, Hoppah!

 

And another, how do you arrange the order in which commands are displayed? Order in editor, apparently. I swore it hadn't worked before.

 

Well, seems I answered all my questions. If anyone's interested in my methods, ask away.

 

I'm pretty sure you can also order commands by using the SetGroupID(?); code, but I never really bothered with it personnaly.

Link to comment
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.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.



×
×
  • Create New...