Making an NPC not work/disappear during a war?

Mukai

LOMCN Veteran
Veteran
Feb 15, 2008
383
0
63
Tenerife
as title is it possible and if so can some1 kindly enlighten me on how its done
Thx In Advance
 

Geordiehc

Mad Dog Geo
VIP
Jul 4, 2007
2,827
49
195
Redditch, UK
ahh ok sorry, cheers for that mick
will i need to add the timecall script to 00default or anything to automitcally read it?
 
Last edited:
Upvote 0

idaBigA

Holley Mir 3!!
VIP
Oct 28, 2003
1,966
110
310
Stoke, UK
[@_Startup]

That runs whenever a NPC Script it loaded (at startup) or Reloaded using @reloadnpc

So you can do it using 00Default.txt or on an NPC using @_Startup
 
Upvote 0

GmTidus

Dedicated Member
Dedicated Member
Oct 14, 2008
54
0
32
Code:
[@_startup]
#CALL [System\SpeakingClock.txt] @SpeakingClock

Code:
[@SpeakingClock]
#if
dayofweek THU
#ACT
TimeCall 16 00 @Its1600
#if
dayofweek MON
#ACT
TimeCall 18 00 @Its1800
 

[@Its1600]
#ACT
EventMsg Grobal "Activado Evento Automatico Babe, el cerdito de oro /// Activated automatic event Babe, the Gold pig"
delaygoto [local] 60 @Startcerdito

[@Startcerdito]
#IF
#ACT
EventMsg Grobal "Encontrar al cerdito de oro para recibir 10 millones de oro! /// Search the gold pig for receive 10 millions of Gold!"

Mongenp "3,208,261,320" Pig 1000 "Gold 100"
Mongenp "3,208,261,200" GoldPig 1 "Gold 100"

[@Its1800]
#ACT
EventMsg Grobal "Activado Evento Automatico Mika, La gallina de oro /// Activated automatic event Mika, the Gold hen"
delaygoto [local] 60 @Startpollo

[@Startpollo]
#IF
#ACT
EventMsg Grobal "Encontrar a la gallina de oro para recibir 10 millones de oro! /// Search the gold hen for receive 10 millions of Gold!"

Mongenp "3,208,261,320" hen 1000 "Gold 100"
Mongenp "3,208,261,200" Goldhen 1 "Gold 100"


are correct this?
 
Last edited:
Upvote 0

idaBigA

Holley Mir 3!!
VIP
Oct 28, 2003
1,966
110
310
Stoke, UK
Looks good to me mate, just put this but into any NPC and away you go..

Code:
[@_startup]
#CALL [System\SpeakingClock.txt] @SpeakingClock
 
Upvote 0