Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > New Scripting Engine (GS2)
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-12-2006, 04:07 AM
ForgottenLegacy ForgottenLegacy is offline
-Backtoscripts-
Join Date: Aug 2003
Location: California
Posts: 289
ForgottenLegacy is on a distinguished road
Send a message via AIM to ForgottenLegacy
Emitters, once again.

I understand emitters. I understand the 'TShowImg', 'TEmitter', and 'TEmitterParticle' objects. I completely understand the addLocalModifier() function.

But, I do not understand addGlobalModifier, addEmitModifier, and addMod. I just don't see the difference between addGlobalModifier and addLocalModifier, I don't know much about addEmitModifier, and I don't know what addMod is for.

I know the modifiers return objects after working... can someone explain to me these objects? Such as, their GraalScript Object ID (TEmitterParticle, TGraalVar, for example), and uses in modifying them.

Thanks! I'm going to add this to my docu on emitters when I learn them, and I'll re-release the docu.
__________________
"The higher you fly, the harder it is to breathe."

[Kaidenn] Maybe I will somehow take control of Lance's body when he isn't looking, have him log onto Kingdoms, update one script, and leave.
[Kaidenn] And leave him exactly where I found him, unchanged and completely unnaware of what just took place the last two minutes.
[GrowlZ] Lance: You might want to lock your bedroom door tonight
Reply With Quote
  #2  
Old 08-12-2006, 07:09 AM
Angel_Light Angel_Light is offline
Varia Developer
Angel_Light's Avatar
Join Date: Nov 2005
Location: Knoxville, TN
Posts: 1,684
Angel_Light is on a distinguished road
Send a message via AIM to Angel_Light Send a message via MSN to Angel_Light
I think global effects all emitter (even the ones outside) maybe? admod is just modifing a emitter to do two things

PHP Code:
with (emitter.addlocalmodifier("range"112"spin""add", -20, -30)) {
  
addmod("zangle""add"0.10.5);

__________________
Deep into the Darkness peering...
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 12:47 AM.


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