update: apparently the code ( in [ ] ) comand still works, altbhough it displays a bit differntly.
Modifié par Shaun the Crazy One, 13 juillet 2010 - 10:11 .
Modifié par Shaun the Crazy One, 13 juillet 2010 - 10:11 .
Posted as an example from my own module
//
// Spawn ObjectEffect
//
int ParseFlagValue(string sName, string sFlag, int nDigits, int nDefault);
int ParseSubFlagValue(string sName, string sFlag, int nDigits, string sSubFlag, int nSubDigits, int nDefault);
object GetChildByTag(object oSpawn, string sChildTag);
object GetChildByNumber(object oSpawn, int nChildNum);
object GetSpawnByID(int nSpawnID);
void DeactivateSpawn(object oSpawn);
void DeactivateSpawnsByTag(string sSpawnTag);
void DeactivateAllSpawns();
void DespawnChildren(object oSpawn);
void DespawnChildrenByTag(object oSpawn, string sSpawnTag);
//
//
effect ObjectEffect(object oSpawn)
{
// Initialize Variables
effect eObjectEffect;
// Initialize Values
int nObjectEffect = GetLocalInt(oSpawn, "f_ObjectEffect");
//
// Only Make Modifications Between These Lines
// -------------------------------------------
// ObjectEffect 00
// Dummy ObjectEffect - Never Use
if (nObjectEffect == 0)
{
return eObjectEffect;
}
//
// Bard's Song
if (nObjectEffect == 1)
{
eObjectEffect = EffectVisualEffect(VFX_DUR_BARD_SONG);
}
//
// -------------------------------------------
// Only Make Modifications Between These Lines
//
// Return the ObjectEffect
return eObjectEffect;
}
/*
*/
Modifié par Selene Moonsong, 13 juillet 2010 - 11:11 .
MokahTGS wrote...
Ug...I like the old version better....maybe they will upgrade it eventually...
We raised it a year ago when we first started beta testing Social and a couple of months later but we're still waiting. Fluffyameoba and I gave BioWare GeSHi definition files for nwscript and dascript respectively. These are currently used on the Dragon Age Toolset Wiki but they've never been picked up for the forum.MokahTGS wrote...
Ug...I like the old version better....maybe they will upgrade it eventually...
Modifié par Sunjammer, 14 juillet 2010 - 11:57 .
Modifié par painofdungeoneternal, 14 juillet 2010 - 02:29 .