Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

5e2014 NPC Ship Sheet how to create Attack Token Action

Hello, I am using the Ships NPC sheets from DD5-2014 but I can't find how to create a Token Action for Attack. It works fine with the basic NPC sheet using  %{selected|repeating_npcaction_$0_npc_action} but not with Ships.... Thanks a lot
Here are the regular attributes that can be called: vehicle_ac vehicle_dt vehicle_speed vehicle_keel vehicle_crew vehicle_cargo vehicle_airquality vehicle_cost For repeating attacks, you'll need two parts: 'vehicleweapon' is the first part of the reference (instead of 'npcaction'), then the attribute portion from this list: npc_roll_output name quantity attack_range attack_tohitrange actions_taken--silent attack_onhit attack_flag description So you'll need %{selected|repeating_vehicleweapon_$0_npc_roll_output} I think that's all of the attributes, but I might have missed some from a quick glance.
Hello, Thanks for your reply. %{selected|repeating_vehicleweapon_$0_npc_roll_output} is calling the first weapon listed on the weapons section of the sheet not in the actions section where the roll is made. So the weapon name is displayed but no roll is made. May be something must be added but I am new to creating macros so I'll need more help... Thanks a lot
Ah yeah there's a separate repeating section for actions: %{selected|repeating_vehicleactions_$0_npc_action} Here are the attributes that can be used with repeating_vehicleactions, though it appears that 'weaponname' is unused even though it is included on the sheet. name weaponname attack_type attack_tohitrange description E.g. @{selected|repeating_vehicleactions_$0_name} There's also the cargo section with  repeating_vehicle-cargo-items: quantity name weight E.g. @{selected| repeating_vehicle-cargo-items_$0_name}
It works perfectly. Thank you so much.