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-25-2001, 08:06 PM
slayerhazepk slayerhazepk is offline
Registered User
Join Date: Nov 2001
Posts: 6
slayerhazepk is on a distinguished road
Triggeraction Inventory Problem

Triggeraction doesn't work on wepons offline, does it still work online?
Reply With Quote
  #2  
Old 12-25-2001, 08:13 PM
TDO2000 TDO2000 is offline
Registered User
TDO2000's Avatar
Join Date: Jul 2001
Location: Germany
Posts: 655
TDO2000 is on a distinguished road
um it works offline if u trigger an NPC u don't have to trigger at the x and y of it... u have to get nearly the middle of the NPC then it should work

the same for the player if u want to trigger the player u need to add a little bit to the x and y

for example:

player has code in weapon

if(actionkick){
setplayerprop #c,ouch;
}


NPC:
if(playerenters){
triggeraction playerx+1.5,playery+2,kick,;
}

should work
__________________
No Webhost at the moment
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 01:03 AM.


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