Solved Spawn Enemies/NPCs Wielding Weapons

Question that is answered or resolved.

Crimsondeath

Active member
Hi to everyone,
I don't know if it's a bug of the engine or my mistake, but I'm trying to spawn entities wielding weapons but just one has it when the level starts:

9CJr4rf.png


Code:
#The two entities here:
spawn    Patrullero #<-- this entity spawns wielding the Shield.
weapon    Patrullero19
coords    240 200 0
at    0

spawn    Patrullero_sentado
coords    270 230 0
flip    1
at    0

spawn    Patrullero_sentado
coords    300 180 0
flip    1
at    0

spawn    Patrullero #<-- this not :(
weapon    Patrullero19
coords    300 270 0
at    0
 
Hi to everyone,
I don't know if it's a bug of the engine or my mistake, but I'm trying to spawn entities wielding weapons but just one has it when the level starts:

9CJr4rf.png


Code:
#The two entities here:
spawn    Patrullero #<-- this entity spawns wielding the Shield.
weapon    Patrullero19
coords    240 200 0
at    0

spawn    Patrullero_sentado
coords    270 230 0
flip    1
at    0

spawn    Patrullero_sentado
coords    300 180 0
flip    1
at    0

spawn    Patrullero #<-- this not :(
weapon    Patrullero19
coords    300 270 0
at    0
Ok, I don't know what happened but the command "Weapon" start working good (maybe it's because the police shield isn't a weapon that exist as an item, the player can't use it xd):

Code:
spawn    Bryan
Weapon    Palo 0
coords    360 165 0
at    130

spawn    Bryan
Weapon    Palo 0
coords    360 255 0
at    130

spawn    Basurero
coords  360 165 0
item    Ramdomdrop2
at    190

I used to spawn Bryan with the rod and now it drops the weapon at knockdown hits as I wanted :D . I can also put more that one enemy with the same weapon (this was the problem at the first post), so I'll be using both methods to give weapons to my enemies.

Thank you so much to everyone :D .
 
Last edited:
Back
Top Bottom