Graal Forums  

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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-29-2005, 12:49 PM
Methril Methril is offline
Registered User
Join Date: Jan 2005
Posts: 237
Methril is on a distinguished road
Specific flag from specific carried npc

Hello

I want to make this npc set a flag when it is moved out of place and then unset it when it is returned back. Some help would be appreciated. What am I doing wrong?

Thanks

PHP Code:
if(created){
  
canbecarried;
  
x=40;
  
y=23.5;
}

if (!
x=40 && !y=23.5){
  
set Carried;
}

if(
wasthrown){
  
x=40;
  
y=23.5;
  unset 
Carried
Reply With Quote
 


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 08:18 AM.


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