Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-05-2004, 06:00 PM
Salaisuus Salaisuus is offline
Registered User
Join Date: Mar 2004
Posts: 68
Salaisuus is on a distinguished road
Hitobject on Gmap

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?
Reply With Quote
  #2  
Old 12-05-2004, 07:59 PM
Slash-P2P Slash-P2P is offline
Banned
Join Date: May 2004
Location: Burning Blade
Posts: 941
Slash-P2P is on a distinguished road
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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 03:37 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.