02-03-2018, 01:41 AM
im trying to make the spawn respawn on a timer...
STOP and START do not work in 51a, i also tried DCLICK... nothing
im trying to respawn the spawn after the changes are made... ideas?
a forced DCLICK might work, but TRIGGER DCLICK just forces the trigger not the actual negating of the spawn
http://www.frawley.net/UO/sphere/admin_m...here_2.htm
cant get RESPAWN or RESTOCK to work either
woa! this works... BUT! the timers take too long to respawn everything in that sector
if only i could just restock that one spawn!
Code:
ONTRIGGER=TIMER
IF (<TYPE>==34) && (<LINK><04fffffff)//if spawn and a LINKED to guildstone spawn
IF (<TIMER>==0)
//
IF <LINK.LINK>=04000e326//AoG if townstones link = guildowner
//SAY <LINK.LINK>
STOP
COLOR=835
MORE={04166 1 04167 1 04168 1 04169 1 0416a 1}
UPDATE
START
RETURN 0
ENDIF
//
ENDIF
ENDIF
STOP and START do not work in 51a, i also tried DCLICK... nothing
im trying to respawn the spawn after the changes are made... ideas?
a forced DCLICK might work, but TRIGGER DCLICK just forces the trigger not the actual negating of the spawn
http://www.frawley.net/UO/sphere/admin_m...here_2.htm
cant get RESPAWN or RESTOCK to work either
woa! this works... BUT! the timers take too long to respawn everything in that sector
Code:
ONTRIGGER=TIMER
IF (<TYPE>==34) && (<LINK><04fffffff)//if spawn and is a spawn LINKED to townstone (spawn is linked to townstone, townstone is linked to guild UID)
IF (<TIMER>==0)
//
IF <LINK.LINK>=04000e326//AoG if townstones link = guildowner
SAY Respawning...//<LINK.LINK>
//TRIGGER DCLICK
//NAME=<LINK.NAME> Spawnbit//sets name of spawn
COLOR=835
MORE={04166 1 04167 1 04168 1 04169 1 0416a 1}
UPDATE
SECTOR.RESTOCK
RETURN 0
ENDIF
//
ENDIF
ENDIF
if only i could just restock that one spawn!