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 02-06-2003, 01:02 AM
vahn32 vahn32 is offline
oner uf grawl +1 LOL
vahn32's Avatar
Join Date: Jan 2003
Location: See Bible.
Posts: 177
vahn32 is on a distinguished road
Send a message via AIM to vahn32
bounty script help

i dunno if this is a no0bit scripter question or not, but i kinda need to know this for my bounty hunter script to work. i need the flag for: if the player kills another player, and that players acct name is equal to a variable... it may sound kinda no0bish but i dont know how to do it X.x
__________________
Reply With Quote
  #2  
Old 02-06-2003, 01:04 AM
tlf288 tlf288 is offline
Registered User
tlf288's Avatar
Join Date: Nov 2001
Location: new account: Trevor
Posts: 0
tlf288 is on a distinguished road
Send a message via AIM to tlf288 Send a message via Yahoo to tlf288
Use triggeraction to send the players account in a paramater serverside.
__________________
new account: Trevor
Reply With Quote
  #3  
Old 02-06-2003, 01:08 AM
vahn32 vahn32 is offline
oner uf grawl +1 LOL
vahn32's Avatar
Join Date: Jan 2003
Location: See Bible.
Posts: 177
vahn32 is on a distinguished road
Send a message via AIM to vahn32
whats that mean? lol as i said im not very good at those kinda things....

edit: i dunno if i shouldve posted here or Era boards, so i posted here, but to let u know its for era so i dunno what action they use when you die or anything like that. X.x
__________________
Reply With Quote
  #4  
Old 02-06-2003, 05:15 PM
Spark910 Spark910 is offline
Ex-Graal Global
Spark910's Avatar
Join Date: Oct 2001
Location: England
Posts: 10,892
Spark910 has a spectacular aura about
Ask them if they have any different way of dying, also it will be too hard if you cant test it with NC or either way i think your out of you league. Also someone else was working on Bounty Hunter Not for era, but another PW!
__________________
--Spark911
Reply With Quote
  #5  
Old 02-06-2003, 09:36 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Lightbulb Solucion! i think....

If when you set up the bounty use something like
with (getplayer(<whoever it is>)) {
addweapon -Bountysystem;
}

and then in the -Bountysystem weapon (- noting that it is a hdden weapon to the player) use something like this:

if (playerdies) {
triggeraction 0,0,bounty,bountied,#a;
}

and then back in the bounty script, use something like
if (actionbounty) {
if (strequals(#p(0),bountied)) {
message #p(1) was killed on Bounty!;
with (getplayer(#p(1))) {
removeweapon -Bountysystem;
}
}
}

It's a simple basis like that. Yet this is me scripting so it probably won't work.
__________________
Skyld
Reply With Quote
  #6  
Old 02-06-2003, 11:16 PM
vahn32 vahn32 is offline
oner uf grawl +1 LOL
vahn32's Avatar
Join Date: Jan 2003
Location: See Bible.
Posts: 177
vahn32 is on a distinguished road
Send a message via AIM to vahn32
ok, i see whatcha mean, it would be eaiser that way too. all i need is for them to set up a gloabal npc like that. thanks guys!
and for that comment on way outta my league.... i know what i do, and i know how to do it, but i suck at it
(if you know what that means, tell me and win a pixel!)
__________________
Reply With Quote
  #7  
Old 02-08-2003, 03:41 AM
HoudiniMan HoudiniMan is offline
Playerworld Administrator
HoudiniMan's Avatar
Join Date: Dec 2001
Location: Calfiornia - USA
Posts: 3,512
HoudiniMan is on a distinguished road
Quote:
Originally posted by vahn32
ok, i see whatcha mean, it would be eaiser that way too. all i need is for them to set up a gloabal npc like that. thanks guys!
and for that comment on way outta my league.... i know what i do, and i know how to do it, but i suck at it
(if you know what that means, tell me and win a pixel!)
I hope you meant server-wide npc...?

There's no such thing as a global npc
__________________
-HoudiniMan (Chief Playerworld Administrator)
Compulsive Support Center Checker - 5 Years and Change
Graal Support Center

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 08:15 PM.


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