Quote:
|
Originally Posted by Salaisuus
NPC Code:
if (weaponfired)
{hitobjects 1,playerx+1.5+vecx(playerdir)*2,playery+2+vecy(pla yerdir)*2;}
Strange, strange. That weapon wont work in my gmap other than in the upper left corner(a1).
I think I must have set up the gmap wrong or something.
Is there anything more I need to do than upload gmap and levels, and put npc with loadmap?
|
First of all, read the KSI-GS stuff.
Next, make sure that is clientsided.
Third, Its not checking the Z factor, so its gonna trigger the action at the wrong spot. Try using triggeraction.