Shadows of Siranda
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Scripting/Coding

2 posters

Go down

Scripting/Coding Empty Scripting/Coding

Post  Earthmire Wed Jun 08, 2011 4:51 am

I am willing to do some basic scripting/coding for those things that need it? All work will stay with the ZS team, I will merely right the scripts with no actual access to the physical module. Just thought I'd volunteer my services.

Earthmire

Posts : 4
Join date : 2011-06-08

Back to top Go down

Scripting/Coding Empty Re: Scripting/Coding

Post  zDarkShadowz Sun Jun 12, 2011 11:03 pm

I can also create and splice scripts if needed. I'm not fond of doing cutscene scripts though... they just take ages for me to do. Smile

Some cheap examples of my skill are on www.createforum.com/landofchaos, in the off-topic section under the "Simple Scripts" thread. Though I can do far better.
zDarkShadowz
zDarkShadowz

Posts : 27
Join date : 2011-06-12
Age : 33
Location : Not playing here, indefinitely.

Back to top Go down

Scripting/Coding Empty Paired Portal Script

Post  zDarkShadowz Sat Jun 25, 2011 10:53 am

My OnUsed paired portal script. Place this on a placeable object in the palette, then a DM can spawn it in one location, and again in another, and the two objects will act like portals, linked to each other.

The same script can be used on multiple, different tagged objects and not clash, so this script can be used to make multiple "paired portals". This will help a hell of a lot in any DM event, when a DM opens a portal to another realm, or wants to link event areas up to regular areas in general.


void main()
{
string sSelf = GetTag(OBJECT_SELF);
object oPortal = GetObjectByTag(sSelf, 0);
location lPortal = GetLocation(oPortal);
if(oPortal == OBJECT_SELF)
{
object oPortal = GetObjectByTag(sSelf, 1);
location lPortal = GetLocation(oPortal);
DelayCommand(1.0, AssignCommand(GetLastUsedBy(),JumpToLocation(lPortal)));
}
else
{
DelayCommand(1.0, AssignCommand(GetLastUsedBy(),JumpToLocation(lPortal)));
}
ApplyEffectToObject(DURATION_TYPE_INSTANT,EffectVisualEffect(VFX_IMP_LIGHTNING_M),OBJECT_SELF);
}
zDarkShadowz
zDarkShadowz

Posts : 27
Join date : 2011-06-12
Age : 33
Location : Not playing here, indefinitely.

Back to top Go down

Scripting/Coding Empty Re: Scripting/Coding

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum