Creating fully-customized characters
#1
Posted 04 November 2005 - 05:16 PM
#2
Posted 04 November 2005 - 06:50 PM
#3
Posted 04 November 2005 - 08:05 PM
Edited by Katrina, 04 November 2005 - 08:08 PM.
#4
Posted 04 November 2005 - 09:17 PM
The great wolf Fenrir gapes ever at the dwelling of the gods.
#5
Posted 04 November 2005 - 10:02 PM
#6
Posted 05 November 2005 - 09:23 AM
IF
!Exists("iifam0") // We haven't ever summoned iifam0
THEN
RESPONSE #100
ReallyForceSpellRES("<summon_fam0>",LastSummonerOf(Myself)) // get the caster of the summon spell to summon iifam0 (this sets the companions LastSummonerOf tag correctly
ActionOverride(LastSummonerOf(Myself),SetGlobal("iiMyFamIs0","LOCALS",1)) // tell the summoner which companion they have
SetGlobal("iiFam0Free","GLOBAL",0) // marker global, slot 0 is now used
DestroySelf() // get rid of myself
END
IF
Exists("iifam0") // We have summoned iifam0 before
Dead("iifam0") // iifam0 dead
Global("iiFam0Free","GLOBAL",1) // the 0 slot is free
THEN
RESPONSE #100
SetGlobal("iiFam0Free","GLOBAL",0) // marker global, slot 0 is used
ReallyForceSpellRES("<summon_fam0>",LastSummonerOf(Myself)) // get the caster of the summon spell to summon iifam0 (this sets the companions LastSummonerOf tag correctly
ActionOverride(LastSummonerOf(Myself),SetGlobal("iiMyFamIs0","LOCALS",1)) // tell the summoner which companion they have
DestroySelf() // get rid of myself
END
IF
True()
THEN
RESPONSE #100
DisplayStringHead(LastSummonerOf(Myself),~You are not permitted a companion at this time~)
DestroySelf()
END
However, there is an error at line 27 -which is the third up from the bottom- that says: Expected I:StrRef* but found ~You are not permitted a companion at this time~
Should I ignore this, or what should I do to fix it?
#7
Posted 05 November 2005 - 09:52 AM
Also you should change all ii's in the script to something else as per the tutorial as this is igi's personal prefix and using it may cause conflict with any mods he uses this script in. Just pick any two letters that you might want to use as a personal prefix, most modders do this to avoid filename conflicts with other mods.
#8
Posted 05 November 2005 - 04:04 PM
#9
Posted 05 November 2005 - 04:45 PM
The great wolf Fenrir gapes ever at the dwelling of the gods.
#10
Posted 05 November 2005 - 05:05 PM