DysoForums Forum Index DysoForums
 
GalleryGallery   Donate to DysotopiaDonate   Dysotopia.com homepageDyso.com
SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStats   RegisterRegister 
 Login to check your private messagesLogin to check your private messages   LoginLogin 

scripting advice...

 
Post new topic   This topic is locked you cannot edit posts or make replies    DysoForums Forum Index -> Worldbuilders
View previous topic :: View next topic :: Hide signatures  
Author Message
Jon316
Guest




Level: 51
XP
EXP: 189 / 280 EXP: 189 / 280 EXP: 189 / 280
 67%
PostPosted: Wed Apr 23, 2003 9:50 am    Post subject: scripting advice... Reply with quote

ok lets say i create a basic script like this


Code:
void main()
{



if (!GetIsPC(oPC)) return; false

int DoOnce = GetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF));

if (DoOnce==TRUE) return;

SetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF), TRUE);

object oTarget;
oTarget = oPC;

ApplyEffectToObject(DURATION_TYPE_PERMANENT, EffectAbilityIncrease(ABILITY_CHARISMA, 10), oTarget);

oTarget = oPC;

ApplyEffectToObject(DURATION_TYPE_PERMANENT, EffectAbilityIncrease(ABILITY_CONSTITUTION, 10), oTarget);

oTarget = oPC;

ApplyEffectToObject(DURATION_TYPE_PERMANENT, EffectAbilityIncrease(ABILITY_DEXTERITY, 10), oTarget);

oTarget = oPC;

ApplyEffectToObject(DURATION_TYPE_PERMANENT, EffectAbilityIncrease(ABILITY_INTELLIGENCE, 10), oTarget);

oTarget = oPC;

ApplyEffectToObject(DURATION_TYPE_PERMANENT, EffectAbilityIncrease(ABILITY_STRENGTH, 10), oTarget);

oTarget = oPC;

ApplyEffectToObject(DURATION_TYPE_PERMANENT, EffectAbilityIncrease(ABILITY_WISDOM, 10), oTarget);

oTarget = oPC;

ApplyEffectToObject(DURATION_TYPE_PERMANENT, EffectACDecrease(50), oTarget);

oTarget = oPC;

ApplyEffectToObject(DURATION_TYPE_PERMANENT, EffectACIncrease(100), oTarget);

oTarget = oPC;

ApplyEffectToObject(DURATION_TYPE_PERMANENT, EffectAttackIncrease(99), oTarget);

oTarget = oPC;

ApplyEffectToObject(DURATION_TYPE_PERMANENT, EffectConcealment(99), oTarget);

oTarget = oPC;

ApplyEffectToObject(DURATION_TYPE_PERMANENT, EffectMovementSpeedIncrease(300), oTarget);

oTarget = oPC;

ApplyEffectToObject(DURATION_TYPE_PERMANENT, EffectSpellResistanceIncrease(99), oTarget);

oTarget = oPC;

ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_TIME_STOP), GetLocation(oTarget));

oTarget = oPC;

ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_FIREBALL), GetLocation(oTarget));

oTarget = oPC;

ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_FIRESTORM), GetLocation(oTarget));

oTarget = oPC;

ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_STRIKE_HOLY), GetLocation(oTarget));

oTarget = oPC;

ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_METEOR_SWARM), GetLocation(oTarget));

oTarget = oPC;

ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_SCREEN_SHAKE), GetLocation(oTarget));

oTarget = oPC;

ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_SUMMON_CELESTIAL), GetLocation(oTarget));

oTarget = oPC;

ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_WAIL_O_BANSHEES), GetLocation(oTarget));

oTarget = oPC;

ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_WORD), GetLocation(oTarget));

oTarget = oPC;

ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_IMP_DIVINE_STRIKE_FIRE), GetLocation(oTarget));

}


and i use it on a lever in an area sealed with a area only i can get into, would all these uber buffage be best? or should i just lame it and make myself plot?


hmm decisions decisions.... *sighz*

*reads a 40$ forgotten realms new campaign book he bought yesterday*

hmm ...

WTFUX?!?

omfgs artemis entreri was 4rog/1rngr/12fgt/1barb?!??!

OMFG!!!!!!!!

not fair.. and i thought my level 286 artemis entreri dm avatar was cool, i mean seriously, who can beat a one ranger 1 barb?!??! OMFG ITS TOO UBER *cryz in fear*



besides te sillyness... what do you think, would the silly effects be cooler? or would nothing shows plot be cooler? !!!!!!!!!

lalala

i am so bored, nwn is a dead cat under a waterfall.... time to find something to do *bored*


Last edited by Jon316 on Wed Apr 23, 2003 12:18 pm, edited 1 time in total
Back to top
RedStorm
PostWed 04/23/03 12:12pm
it wont work  Reply with quote
 
Jon316
Guest




Level: 51
XP
EXP: 189 / 280 EXP: 189 / 280 EXP: 189 / 280
 67%
PostPosted: Wed Apr 23, 2003 12:14 pm    Post subject: Reply with quote

yeh no shit sherlock.... i hope it wont compile... i took out a line of code so no one can use it, only real scripters will know what it does, get out you noob !@#$ go away icon_mrgreen.gif
Back to top
Jon316
Guest




Level: 51
XP
EXP: 189 / 280 EXP: 189 / 280 EXP: 189 / 280
 67%
PostPosted: Wed Apr 23, 2003 12:15 pm    Post subject: Reply with quote

oh wait did i remove the right line? DAMNIT i cant see straight...... i cant even read it right, ill see if it will compile.... or not... if it does i have to edit it... god no *scared* i hate the edit bottun!!!!
Back to top
Jon316
PostWed 04/23/03 12:17pm
SHIAT its not fixed, crap! edit botton, dont fail me now!!!!!!!  Reply with quote
 
Jon316
Guest




Level: 51
XP
EXP: 189 / 280 EXP: 189 / 280 EXP: 189 / 280
 67%
PostPosted: Wed Apr 23, 2003 12:20 pm    Post subject: Reply with quote

it worked, the cursed edit botton worked!!!!!! omfg!!!!!! and the script is screwed....... WTF? DID I OVERWRITE IT? damnit there now i gotta wait to get sober b4 i can ficx it again


edit: griff im not here to spam? see i used the edit bottun!!!!!

dude it's cool, i am asking a serious scripting q here... icon_biggrin.gif


Last edited by Jon316 on Wed Apr 23, 2003 12:25 pm, edited 1 time in total
Back to top
Griff Inn
Ice Lolly


Joined: 10 Sep 2002
Posts: 679

Level: 23
XP
EXP: 46 / 65 EXP: 46 / 65 EXP: 46 / 65
 70%
PostPosted: Wed Apr 23, 2003 12:21 pm    Post subject: Reply with quote

Jon I'm beginning to think this thread was purposely intended for spam. There's a happy place where you can spam to your hearts content and everyone lives in peace and harmony. Ask Glorin about it. Do not use this forum.

Griff
_________________
Never underestimate the power of hot tea.
Back to top
View users profile Send private message
Display posts from previous:   
Post new topic   This topic is locked you cannot edit posts or make replies    DysoForums Forum Index -> Worldbuilders All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.2 © 2001, 2002 phpBB Group