Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - CleTus

Pages: 1 ... 6 7 [8]
211
Script Request / Respawn script?
« on: January 06, 2005, 09:25:53 AM »
Ok.. Better safe than sorry I guess.. I got the remove ffects striaght out of Lexicon so it should work..



Code: [Select]
void main()
{
object oPC = GetLastPlayerDied();
effect eBad = GetFirstEffect(oPC);
DelayCommand(5.0,ApplyEffectToObject(DURATION_TYPE_INSTANT,EffectResurrection(),oPC));
DelayCommand(5.0,ForceRest(oPC));

 while(GetIsEffectValid(eBad))
        {
            if (GetEffectType(eBad) == EFFECT_TYPE_ABILITY_DECREASE ||
                GetEffectType(eBad) == EFFECT_TYPE_AC_DECREASE ||
                GetEffectType(eBad) == EFFECT_TYPE_ATTACK_DECREASE ||
                GetEffectType(eBad) == EFFECT_TYPE_DAMAGE_DECREASE ||
                GetEffectType(eBad) == EFFECT_TYPE_DAMAGE_IMMUNITY_DECREASE ||
                GetEffectType(eBad) == EFFECT_TYPE_SAVING_THROW_DECREASE ||
                GetEffectType(eBad) == EFFECT_TYPE_SPELL_RESISTANCE_DECREASE ||
                GetEffectType(eBad) == EFFECT_TYPE_SKILL_DECREASE ||
                GetEffectType(eBad) == EFFECT_TYPE_BLINDNESS ||
                GetEffectType(eBad) == EFFECT_TYPE_DEAF ||
                GetEffectType(eBad) == EFFECT_TYPE_PARALYZE ||
                GetEffectType(eBad) == EFFECT_TYPE_NEGATIVELEVEL)
                {

                    RemoveEffect(oPC, eBad);
                }
            eBad = GetNextEffect(oPC);
        }
        }

212
Script Request / Respawn script?
« on: January 06, 2005, 08:43:57 AM »
Quote
For a pvp you might also do a loop te remove effects that still could be there from the player, like strenght decrease or drain level. You can use a while loop for that.

-Mel
[snapback]14987[/snapback]

Doesn't death remove all effects?

213
Script Request / Respawn script?
« on: January 06, 2005, 05:43:03 AM »
This script is very simple.. Goes OnDeath in module properties.. If you want me to add a. You've been slain by or you have slain type message... Just say something.. Or a res/death effect.. Also I added a ForceRest in there to get spells back and stuff.. I assume you have a PvP server.. If not just remove it.


Code: [Select]
void main()
{
object oPC = GetLastPlayerDied();
DelayCommand(5.0,ApplyEffectToObject(DURATION_TYPE_INSTANT,EffectResurrection(),oPC));
DelayCommand(5.0,ForceRest(oPC));
}

214
Guild Wars News / Free Guess Passes
« on: January 02, 2005, 10:13:23 PM »
You can get free pass at Fileplanet for the january 7th.

215
Arivs / Feedback
« on: January 01, 2005, 05:27:24 AM »
On Hit Cast Spell isn't filtered correctly.. It still works..

216
Script Request / Few Scripts To Download ;-)
« on: January 01, 2005, 12:12:50 AM »
Quote
Quote
What???? If you didn't make these scripts give credit to those who did make them.
[snapback]13838[/snapback]

dumass go learn some english grammer before u speak, i made player locater friend just, modified it see simple ? if u cant understand i suggest u go find a dicitonary knp?
[snapback]14476[/snapback]

Dumbass.. Grammar.. Dictionary.. knp?? lol...

Anyways.. Those scripts are alright.. :)

217
Script Request / boot script
« on: December 31, 2004, 04:12:13 AM »
Quote
hmmm...but wouldn't I need to give every caller another localstring? Or else the problem would be the same or not???
[snapback]14102[/snapback]

I had the same problem.. This is what I use, and it works.. Put this on you OnActivate Script if you want to..

Code: [Select]
location lLocation=GetItemActivatedTargetLocation();
        object oOther = GetItemActivatedTarget();
         object oItemUser = GetItemActivator();
        SetLocalLocation(oItemUser,"location",lLocation);
        SetLocalObject(oItemUser,"object",oOther);

For your scripts.. Like teleport one.. Put this instead of GetItemActivatedTarget..

Code: [Select]
object oUser=GetPCSpeaker();
     object oPC = GetLocalObject(oUser,"object");

Apply effects to oPC.. You can change the names to go with your script if you want to use it..

218
GodSpire General / hub/Mort
« on: December 29, 2004, 04:10:54 AM »
Quote
Quote
Nope, some new sents added today.  Mort and Celestial are who I know so far... good choices IMO :)
[snapback]14104[/snapback]
There were removals too, just making sure that there's a good cover without having 200 sents or someting.

If there still problems whit the cover/sents, just stay it.

-Mel
[snapback]14122[/snapback]

Usually around this time right now there's lots of newby randomers and no sents..

219
Script Request / boot script
« on: December 26, 2004, 08:20:09 PM »
Quote
Quote
This is simple and should do.. Place OnActivate

Code: [Select]
void main()
{
object oItem = GetItemActivated();

if(GetTag(oItem) == "TAG")
{
object oPC = GetItemActivatedTarget();
BootPC(oPC);
}
}

This way you can copy the if(GetTag(oItem) == "TAG") to add more items if you need.. Just add it under the } under boot, and define the variables again.
[snapback]13868[/snapback]

i would have requested it for an onactivate script if i wanted one.

i just need a very simple boot script that is activated by another script.


-Lord Elessar
[snapback]13897[/snapback]

Excuse me for not knowing exactly what you wanted when you said 'plain boot script'

220
Script Request / boot script
« on: December 25, 2004, 10:26:58 PM »
This is simple and should do.. Place OnActivate

Code: [Select]
void main()
{
object oItem = GetItemActivated();

if(GetTag(oItem) == "TAG")
{
object oPC = GetItemActivatedTarget();
BootPC(oPC);
}
}

This way you can copy the if(GetTag(oItem) == "TAG") to add more items if you need.. Just add it under the } under boot, and define the variables again.

221
Arivs / Feedback
« on: December 22, 2004, 06:49:33 PM »
Quote
Quote
Quote
Quote
Mel can you try to forbid the null form ? A name without any nick is employing it and he is bother me randoming , breaking the rules  . I can't BAN him so I let him frozen but .... he doesn't wanna stop .
[snapback]13516[/snapback]
What was the name? Any information like account/last name used/logon time can help me to track him in the server logs.

Maybe 'Maink2' ?

I'll also look at a way to prevent this. The forum is keeping me busy right now :P

-Mel
[snapback]13519[/snapback]

I think his account is Maink2 but I am not sure . Don't BAN him I am not sure and I don't wanna BAN an innocent because of my mistake :P He didn't have any nick if that can help you .
[snapback]13534[/snapback]
Maink2 was in without name around the time you posted. I'm pretty sure it's him, the change that my information is incorrect is 0,000000......000001% so :P

-Mel
[snapback]13537[/snapback]

Yeah, it's him.. He said the server was gay anyways.. Tis why he was beeing annoying I think.

222
NwN General / Thanks Talon thread
« on: December 16, 2004, 05:00:34 PM »
Fobe is a dumbass..

223
GodSpire General / Official Randomer Thread
« on: December 12, 2004, 05:34:11 PM »
Goleb deserves to be randomed.. You're so damn annoying with him..  :angry2:

224
GodSpire General / Official Randomer Thread
« on: December 10, 2004, 11:40:30 PM »
Name: Thug Lord Orc

Acc Name: Orcgrim

Randoming repdeadedly, calling people gay, fag etc.. Just a general idiot.

225
Legion of Sages / What you hate about mages
« on: December 08, 2004, 11:15:27 PM »
Quote
Who's Max?
[snapback]12313[/snapback]

Maxou...  B)

226
Arivs / Feedback
« on: December 05, 2004, 01:07:15 AM »
Quote
How was i using the power to much, i was simply doing my job. I used on any who broke the rules then use it again. Any1 who was complaing was eather lieing or just jelous that I have one and they don't' EXcept for viper wich i already said sorry to.. :glare:
[snapback]11981[/snapback]

There's a time to use your 'powers' and there's a time to not sue them and just tell the person.. Cutscene stoning for testing a spell in the corner by yourself is not a time to use your powers.  :unsure:

227
Legion of Sages / What you hate about mages
« on: November 26, 2004, 09:11:29 PM »
Quote
Il start. I hate it when im a monk, and mages use Acid sheith.  Pisses me off.
[snapback]11351[/snapback]

I hate it when Monks challenge Mages in general.. What's the point? They can't hit you with spells, so what else would they do?

Pages: 1 ... 6 7 [8]