You must be logged in to post messages.
Please login or register

Grey Havens (World Builder & Game Mods)
Moderated by Sir Hugh, Blatant

Hop to:    
Welcome! You are not logged in. Please Login or Register.4 replies
Battle for Middle Earth II Heaven » Forums » Grey Havens (World Builder & Game Mods) » worldbuilder: landmines help
Bottom
Topic Subject:worldbuilder: landmines help
skylionheart
Dúnadan
posted 07-31-11 09:16 AM EDT (US)         
hello everyone.
Im making a lotr map with traps, and now i came up witht he idea of landmines. Bu the thing is i cant let it work on the way i want. Ofcourse i want this trap to be activate on the same way you activate a lanmine. By stepping on it XD.

(Scripting)
What i want is:
When a unit of player 1 enters an area then a isengarddeployedexplosivemine spawns on a waypoint in the middle of the area and explodes.

Problem:
I cant make the mine to explode by using scipts.
When a unit enters the mine area the mine spawns, but doesnt explode.
I have also tried to set the ground on fire by using scipts to active the mine, but i dont know how.

I can let a archer or bruut spawn next to the mine to let the mine explode, but thats not what i want.

I want that when a unit enters the area, the mine spawns in the middle of it and explodes

If annyone knows how to do this, please tell me how.

Thanks for your help and time,
Sky

[This message has been edited by skylionheart (edited 07-31-2011 @ 09:17 AM).]

AuthorReplies:
Blatant
DoFH Seraph & Director of Seraphs
(id: blatant7)
posted 07-31-11 06:39 PM EDT (US)     1 / 4       
Hey skylionheart, I've moved your thread to the appropriate sub-forum.

As for your question, I know next to nothing about scripts. But could you try spawning Saruman's Fireball to hit the mine?

Yes, I began my journey alone, and I ended it alone.
But that does not mean that I walked alone. ~ Brandon Sanderson
The Best Guest
Dúnadan
posted 07-31-11 11:48 PM EDT (US)     2 / 4       
ALright bear with me on this, I'm not sure how advanced you are with scripting.
What you should is make a script, then have a script IF and then whatever the name is for "near" then set it to the players team that will activate the mine
THEN: detonate/kill object
script 2 IF script 1 is completed activate script 2
THEN: Create balrog fx or any other explosion that fits at killed unit
script 3 IF script 2 is completed activate script 3
THEN: Kill all units within 5m radius or so

I think that should give you a basic idea of what you need.

This is Not A Sig it is a Follow up to a Post
Revora Forums for all your modding needs
TBG (He is ever so slightly more awesome than everyone else for voting now isn't he?)-FOO
BSL Clan
"mods are actually fun girls!"-Jax

[This message has been edited by The Best Guest (edited 07-31-2011 @ 11:49 PM).]

skylionheart
Dúnadan
posted 08-01-11 07:04 AM EDT (US)     3 / 4       
Thanks Blatant VII, i'm new on the site and a friend of my sad to me that i could post it just right there, srry.
Saruman's firebal... nerver thought on that one, ill try it. XD
Thanks for the help

The Best Guest, thanks for your reply. and yes i'm good at scripting but i just did'nt know how to create a landmine XD. I tried different ways of scripting, but not your way. So im going to try it richt now.
Thanks for the help
The Best Guest
Dúnadan
posted 08-02-11 11:35 AM EDT (US)     4 / 4       
No problem, I haven't scripted in about 3 months so my wording might be a little off, But I hope you caught my gist. Tell me how it goes, if it doesnt work, I'll try to think of another solution for you.

This is Not A Sig it is a Follow up to a Post
Revora Forums for all your modding needs
TBG (He is ever so slightly more awesome than everyone else for voting now isn't he?)-FOO
BSL Clan
"mods are actually fun girls!"-Jax
You must be logged in to post messages.
Please login or register

Hop to:    

Battle for Middle Earth II Heaven | HeavenGames