Jump to content
Sign in to follow this  
Tinker

Destroy tower trigger

Recommended Posts

1 objective is to satchel charge a Comms tower. Tower is already on the map, named Telek 1.

Placed a trigger, but it keeps stating I am missing a ; :confused:

Have read other missions and have tried 2 so far that are in them.

this && not alive Telek 1

not alive Telek 1

How come they don`t work for me? They have no ; in the missions I have looked at.

Share this post


Link to post
Share on other sites

there are no " " spaces in varnames. Atleast... there shouldn't be.

Name it "Telek1" or "Telek_1" but not "Telek 1".

condition:

!(alive Telek1)

Share this post


Link to post
Share on other sites

Then place an object next to it and put this in its init:

telek1 = getPos this nearestObject id

Repalce id with the ID of the Telek 1 object. Then just use the name telek1 in your trigger.

Share this post


Link to post
Share on other sites
Then place an object next to it and put this in its init:

telek1 = getPos this nearestObject id

Repalce id with the ID of the Telek 1 object. Then just use the name telek1 in your trigger.

Wut???

Please explain this again :confused:

I placed a satelit next to the tower named telek1 and with:

telek1 = getPos this nearestObject id

in it's init field.

Then i have a trigger with following in it's condition field:

!alive telek1;

and END as type.

Nothing happens.

Share this post


Link to post
Share on other sites

Change the nearestObject line to:

telek1 = getPos this nearestObject [b]96025[/b]

And it'll work.

You see the numbers there on your screenshot.

Share this post


Link to post
Share on other sites

He also said he had named satelit telek1 which may not help.

If all your doing is checking to see if a building is destroyed don't forget that you can group some object to a trigger.

Place a trigger set it to notpresent and group it to the building you want to check.

Not all buildings work but most houses do.

Share this post


Link to post
Share on other sites

I used small objects / can (ID is of the Tower)

Did not name the can, left it empty. In the init line:

Telek1 = getpos this nearestObject 96025

Tigger: not alive Telek1

Share this post


Link to post
Share on other sites
Change the nearestObject line to:

telek1 = getPos this nearestObject [b]96025[/b]

And it'll work.

You see the numbers there on your screenshot.

That worked... i was wondering how to get those ID's and now i know :P

Thanks for the help and so fast, really appreciated :cool:

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×