Editing Additions to existing entities

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 404: Line 404:
***interrupt_action -posent targetmove -lookposent targetlook -duration 10 -waituntildone -ondoneattributes AfterDone -name myname
***interrupt_action -posent targetmove -lookposent targetlook -duration 10 -waituntildone -ondoneattributes AfterDone -name myname
****Move to entity targetmove, while looking at entity targetlook. Wait 10 seconds after moving to the target entity, then ChangeAttributes to AfterDone, and fire $onactiondone output with myname as parameter
****Move to entity targetmove, while looking at entity targetlook. Wait 10 seconds after moving to the target entity, then ChangeAttributes to AfterDone, and fire $onactiondone output with myname as parameter
***interrupt_action -posent targetkill -lookposent targetkill -killlook -waituntildone -alwayslook -distance 500
***interrupt_action -posent targetkill -lookposent targetkill -killlook -waituntildone
****Move to entity targetkill and try to destroy it. Always look at the target even if not in sight. Only move up to 500 units away from the target
****Move to entity targetkill and try to destroy it
***interrupt_action -pos 0 0 0 -lookpos 100 100 100 -duration 10
***interrupt_action -pos 0 0 0 -lookpos 100 100 100 -duration 10
****Move to position 0 0 0 while looking at position 100 100 100 for the next 10 seconds
****Move to position 0 0 0 while looking at position 100 100 100 for the next 10 seconds
***interrupt_action_queue -pos 0 0 0 -lookpos 100 100 100 -duration 10
****Same as above, but add the action to the queue so it is only done when the previous interrupt action finishes
***clear_interrupt_action_queue
****Clears interrupt action queue added by above command
***remove_interrupt_action_queue_name name
****Delete from interrupt action queue if name matches
***stop interrupt action
***stop interrupt action
****Stops current interrupt action
****Stops current interrupt action
Please note that all contributions to SigMod are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see SigMod:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)