Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > New Scripting Engine (GS2)
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-19-2006, 06:23 AM
Seichi Seichi is offline
Registered User
Seichi's Avatar
Join Date: Jul 2003
Location: In a house.
Posts: 7
Seichi is on a distinguished road
Triggeraction and local NPCs?

I made a local NPC on a level (using the NPC placement thingy, then scripting with GS2 and uploading to test). It seems my triggeraction doesn't work. Here it is:

triggeraction(0,0,"serverside",name,player.str,pla yer.agi,player.int,player.spi,player.sta);

I have no idea why it won't work...any help?
__________________
i ned halp plx ;3
Reply With Quote
  #2  
Old 04-19-2006, 02:47 PM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
To trigger local NPCs you have to use their coordinates, not 0,0.

so like:

triggeraction(this.x, this.y, "actionName", ...);
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
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:48 AM.


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