Thread Rating:
- 0 Votes - 0 Average
- 1
- 2
- 3
- 4
- 5
respawn a spawn via trigger script?
|
Author |
Message |
x77x 
Master
 
Posts: 488
Likes Given: 0
Likes Received: 15 in 15 posts
Joined: Mar 2012
Reputation: -4
![]()
|
respawn a spawn via trigger script?
im trying to make the spawn respawn on a timer...
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!
Dragons of Time 2000-2020
http://dragonsoftime.com
(This post was last modified: 02-03-2018 02:50 AM by x77x.)
|
|
02-03-2018 01:41 AM |
|
|
User(s) browsing this thread: 1 Guest(s)