Heroes Shout Out Time! Warnin People!

ashleyuk

Dedicated Member
Dedicated Member
Loyal Member
Nov 18, 2008
2,000
23
145
Ok basicly i want the NPC to shout after 15 seconds "This boss has spawned x coords.."

Iv'e looked throw hard and coulnd't find the Commands.. All i found was TimeRecall which i don't want it to do. All i simply want it to do is Shout out 15 Seconds later a Certain boss has spawned..

Here's a piece of my Script.

SENDMSG 6 "Your Mob Has spawned at 150,150"
SENDMSG 6 "You have 15 Seconds befor your monster is Globled!"
Goto @Time

[@Time]
#IF
#ACT
Time 15 Secs. <- Don't know command to shout out After 15 Seconds.
SENDMSG 0 "ExperienceMob(S) Has spawned at 150,150"

If you know the command please Post below this Post.

-Ash

PS: Not 100% sure if some commands of TD works with Heroes but i'll give it a go!
 

NewHope

Golden Oldie
Golden Oldie
Nov 18, 2005
1,311
28
154
Does the robot system not work on Heroes? That would be the easiest way to do this.
 
Upvote 0

ashleyuk

Dedicated Member
Dedicated Member
Loyal Member
Nov 18, 2008
2,000
23
145
Yes it does please explain how i could Control Robot throw a NPC?

Im adding a Mob/Boss Gamble NPC. Random chooses from Experience/Gold/Drop Mob and From S/M Or L And spawns and tell's the person who payed to spawn it's coord's Then 15 Seconds Later it Global shouts to everyone.. So the person who spawned has to be FAST! and Good!

So would it be able to do this you recon?

-Ash
 
Upvote 0

Gezza

Golden Oldie
Golden Oldie
Sep 23, 2008
2,201
61
155
uk
You could control the robot from the npc using a flag.

npc
[@main]
#act
set [100] 1
SENDMSG 6 "Your Mob Has spawned at 150,150"
SENDMSG 6 "You have 15 Seconds befor your monster is Globled!"

then in the robot.. set every 15 seconds

[@bossbot]
#IF
check [100] 1
#act
SENDMSG 0 "ExperienceMob(S) Has spawned at 150,150"
set [100] 0
 
Last edited:
Upvote 0

ashleyuk

Dedicated Member
Dedicated Member
Loyal Member
Nov 18, 2008
2,000
23
145
So it will shout them coord's every 15 Seconds??

I only want it to shout (Once). When a person spawns it with there hard cash and 15 Seconds later it globals were it spawned. Giving the person less time to go after it and begins a NICE Boss/Mob fight.

So is there any way to Set it 15 Seconds when it spawns?

-Ash
 
Upvote 0

Gezza

Golden Oldie
Golden Oldie
Sep 23, 2008
2,201
61
155
uk
It would only shout if the flag is turned on so it would only shout once. But still wouldn't work as you want it as the robot would run every 15 seconds from the system not the npc so it would be a random time within 15 seconds, it would probably work better if you done it every 2 mins then at least you would have is just over 1 min.
 
Upvote 0

ashleyuk

Dedicated Member
Dedicated Member
Loyal Member
Nov 18, 2008
2,000
23
145
Well it was ment to Random spawn a Mob in a spot around BW. Tells the person who spawned it the Coord's 15 Seconds later it Global's it and it's coords.

If the Flag can be Put on thn After 15 Seconds over could it be turned off?

-Ash
 
Upvote 0

ashleyuk

Dedicated Member
Dedicated Member
Loyal Member
Nov 18, 2008
2,000
23
145
Ok another Question on Same topic (Kinda).

How do i make it so a monster spawns at location i want it to? PARAM1,2,3 & 4 isn't same as TD?

Atm ive got.

#IF
#ACT
Mongen Mob 0 1
PARAM1 0 (Map Number)
PARAM2 100 (X Coord's)
PARAM3 100 (Y Coord's)
SENDMSG "Mob has spawned at 100,100"

&

MONGEN Mob 0 1
PARAM1 (X Coord's)
PARAM2 (Y Coord's)
PARAM3/4 are Radious & MobCount.

Any idea on this Gezza mate?

-Ash
 
Upvote 0

Gezza

Golden Oldie
Golden Oldie
Sep 23, 2008
2,201
61
155
uk
MONGENEX mapname 5 6 Yob 0 1

5=x 6=y mob 0=range 1=amount.

Also all the command you used are in the hero files so should work the same..

you should use...

#ACT
Mongen Mob 1 0 <--- your script was spawning 0 mobs..
PARAM1 0 (Map Number)
PARAM2 100 (X Coord's)
PARAM3 100 (Y Coord's)
SENDMSG "Mob has spawned at 100,100"
 
Last edited:
Upvote 0

ashleyuk

Dedicated Member
Dedicated Member
Loyal Member
Nov 18, 2008
2,000
23
145
#ACT
Mongen Mob 1 0 <--- your script was spawning 0 mobs..
PARAM1 0 (Map Number)
PARAM2 100 (X Coord's)
PARAM3 100 (Y Coord's)
SENDMSG "Mob has spawned at 100,100"

Used this and doesnt spawn the monsters.. At the moment im testing it on a Hen.

[@main]
<Spawn Hen/@Hen>

[@Hen]
#IF
#ACT
Mongen Hen 1 1
PARAM1 0
PARAM2 304
PARAM3 256
SENDMSG 6 "Hen has Spawned"

Any idea why it aint working?

-Ash
 
Upvote 0

Pete107

🐑[E]dens-[E]lite🐑
Developer
Dec 10, 2003
2,905
393
375
Todmorden, West Yorkshire
Still the same :/

-Ash


Should work, works fine for me,


[@Tuesday]
#IF
CHECKHUM chall2 1
#SAY
You must wait a little the room is currently occupied.\
<Back/@DAY1>\ \
#ELSEACT
give TownTeleport 1
CLEARMAPMON chall2
ADDNAMELIST Tuesday1.txt
DELNAMELIST Wednesday1.txt
DELNAMELIST Thursday1.txt
DELNAMELIST Friday1.txt
DELNAMELIST Saturday1.txt
DELNAMELIST Sunday1.txt
DELNAMELIST Monday1.txt
MAPMOVE chall2 17 20
TIMERECALL 30
sendmsg 6 "Defeat as many monsters as you can for better rewards within 30 minutes!!"
MONGENEX chall2 26 7 BoneElite 0 1
 
Upvote 0

ashleyuk

Dedicated Member
Dedicated Member
Loyal Member
Nov 18, 2008
2,000
23
145
Working now Thanks mate! I was using PARAM1,2,3 lol And your not using them.

Thanks Again!

-Ash

PS: Could a Mod close this Thread and sign it as Solved! Ty.
 
Upvote 0

ashleyuk

Dedicated Member
Dedicated Member
Loyal Member
Nov 18, 2008
2,000
23
145
Yeah I did correct your script in the quote on post #12 but you must have missed it, no problem.

Ahaha i see the changes now. Shoulda bold it lol :p

Thanks any ways mate!

-Ash

---------- Post added at 12:33 AM ---------- Previous post was at 12:18 AM ----------

****. It doesn't Global shout it's coords..

Could be somet i done wrong in Robot..

This Correct?

Mir200\Envir\Robot_def\AutoRunRobot.txt

#AutoRun NPC SEC 60 @SendRedMsg

#AutoRun NPC SEC 15 @Experience

#AutoRun NPC SEC 15 @Money

#AutoRun NPC SEC 15 @Drop

Mir200\Envir\Robot_def\Robotmanage.txt

[@Experience]
#IF
check [101] 1
#ACT
sendmsg 0 "<$USERNAME>, ExperienceMob Has spawned at 537,562"
set [101] 0

If this is wrong please could you correct me? Also them spaces are done by me do they need to be spaces?

-Ash
 
Upvote 0

ashleyuk

Dedicated Member
Dedicated Member
Loyal Member
Nov 18, 2008
2,000
23
145
Still aint shouting out when ive clicked the NPC.

Picture of Robot/Main npc.



See anything wrong mate?

-Ash
 
Upvote 0

Gezza

Golden Oldie
Golden Oldie
Sep 23, 2008
2,201
61
155
uk
Works fine for me, just try a test...

In Mir200\Envir\robot.txt
Code:
System   AutoRunRobot

In Mir200\Envir\Robot_def\AutoRunRobot.txt
Code:
#AutoRun	NPC	SEC	5	@test

In Mir200\Envir\Robot_def\RobotManage.txt
Code:
[@test]
#ACT
SENDMSG 0 "Testing 1. 2.3"
 
  • Like
Reactions: Tai
Upvote 0