Paste #12501: Diff note for paste #12500

Date: 2015/01/01 23:02:12 UTC-08:00
Type: Diff Report

View Raw Paste Download This Paste
Copy Link


 On npc command:
     - define arg_size <context.args.size>
     - if %arg_size% == 3 { 
       - if <context.args.get[2]> == "--assume" {
-        - flag <p@player.selected_npc> posed:<c.args.get[4]>
-        - narrate 'You just set an NPC's pose!'
+        - flag <p@player.selected_npc> posed:<c.args.get[3]>
+        - narrate "You just set an NPC's pose!"
         }
       }
 
 timedLoop:
   type: task
   script:
     - foreach <server.get_npcs_flagged[posed]> {
-      - pose assume (For here, how would I get the npc's pose and set it to itself?)
+      - pose assume <npc.flag[posed]>
       }
     - wait 50s
     - inject s@timedLoop