Login

russian armor

Giving Driver Squads Slot Items From Start?

20 May 2017, 07:18 AM
#1
avatar of Kasarov
Senior Modmaker Badge

Posts: 422 | Subs: 2

I'm trying to add a single SMG as a slot item to tank crews through a squad_action_apply, but it seems this doesn't execute since the crew spawns inside the vehicle. I've given thought on making another entity with an SMG weapon, but I prefer it to be specifically a slot weapon, so other members will pick it up when the wielder dies. Is there another way to force a slot item onto them as soon as they come out?
20 May 2017, 08:44 AM
#2
avatar of SneakEye
Senior Modmaker Badge

Posts: 813 | Subs: 5

This is an example of the US vehicle crew with 1 bazooka. It adds the weapon to each squadmember, but with the requirement of max 1 bazooka in the squad:

EDIT: This is added in the ebps/action_apply_ext.

20 May 2017, 09:27 AM
#3
avatar of Mr.Smith

Posts: 2636 | Subs: 17

What SneakEye said, basically.

Note that I have seen the M20 crew bug occasionally when recrewing MGs, etc.

A possible workaround that -might- work (I haven't tried it) is the following:
- Give a requirement action on the sbps for the squad
- The requirement is for your squad to start moving
- Once the squad moves, you should add a slot item

You should probably make this a fire and forget action and, possibly no-retrigger; you only want this to execute once.
1 user is browsing this thread: 1 guest

Livestreams

unknown 27
Russian Federation 61
Germany 3

Ladders Top 10

  • #
    Steam Alias
    W
    L
    %
    Streak
Data provided by Relic Relic Entertainment

Replay highlight

VS
  • U.S. Forces flag cblanco ★
  • The British Forces flag 보드카 중대
  • Oberkommando West flag VonManteuffel
  • Ostheer flag Heartless Jäger
uploaded by XXxxHeartlessxxXX

Board Info

340 users are online: 340 guests
0 post in the last 24h
16 posts in the last week
133 posts in the last month
Registered members: 45018
Welcome our newest member, hetaso5014
Most online: 2043 users on 29 Oct 2023, 01:04 AM