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 09-22-2001, 09:06 AM
fireball_dolphonia fireball_dolphonia is offline
Registered User
Join Date: Sep 2001
Location: Graalistan
Posts: 73
fireball_dolphonia is on a distinguished road
Exclamation Help

ok i need help but how do u make it like if u say to the npc follow me and it has to be the owner's account and if its not make it stay there
__________________

ages.ccs.com/ccsimages/cat_
Reply With Quote
  #2  
Old 09-22-2001, 09:09 AM
Merlin Merlin is offline
Banned
Merlin's Avatar
Join Date: Jul 2001
Location: Merlin - U S A Malak - United Kingdom
Posts: 2,543
Merlin is on a distinguished road
Send a message via ICQ to Merlin Send a message via AIM to Merlin
if (playerchats&&strequals(#c,follow) {
if (strequals(#a,#s(this.owner)) {
omgactions;
}
}
or something
Reply With Quote
  #3  
Old 09-22-2001, 09:11 AM
fireball_dolphonia fireball_dolphonia is offline
Registered User
Join Date: Sep 2001
Location: Graalistan
Posts: 73
fireball_dolphonia is on a distinguished road
but u forgot follow player
else{}
__________________

ages.ccs.com/ccsimages/cat_
Reply With Quote
  #4  
Old 09-22-2001, 09:15 AM
Merlin Merlin is offline
Banned
Merlin's Avatar
Join Date: Jul 2001
Location: Merlin - U S A Malak - United Kingdom
Posts: 2,543
Merlin is on a distinguished road
Send a message via ICQ to Merlin Send a message via AIM to Merlin
followplayer i thought only works offline
Reply With Quote
  #5  
Old 09-22-2001, 09:16 AM
fireball_dolphonia fireball_dolphonia is offline
Registered User
Join Date: Sep 2001
Location: Graalistan
Posts: 73
fireball_dolphonia is on a distinguished road
ok
i had problems with merlins script
heres the new one
if (playersays(show owner))message Owner #a;
if (playerchats&&strequals(#c,follow)) {
if (strequals(#a,#s(this.owner))){
followplayer;
}
else{}
}
__________________

ages.ccs.com/ccsimages/cat_
Reply With Quote
  #6  
Old 09-22-2001, 09:24 AM
Merlin Merlin is offline
Banned
Merlin's Avatar
Join Date: Jul 2001
Location: Merlin - U S A Malak - United Kingdom
Posts: 2,543
Merlin is on a distinguished road
Send a message via ICQ to Merlin Send a message via AIM to Merlin
Quote:
Originally posted by Kaimetsu


DID I JUST TELL YOU NOT TO USE "ELSE{}"? I THINK I DID.

And don't use playersays. And no, he wasn't saying that "omgactions;" was a real command.
hehe.


the script i made was setting you up
you would need to make a basic set up like


if (created) {
attributes here;
setstring this.owner,none;
}
if (playertouchsme) {
if (strequals(#s,this.owner(none)) {
setstring this.owner,#a;
}
}
then like
if (playerchats&&strequals(#c,follow)) {
if (strequals(#s,this.owner(#a)) {
actions here;
}
}

that's just a basic outline thing, i can tell there will be errors since i made it just now without testing
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 09:11 PM.


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