Home   Help Search Login Register  

Author Topic: How to register destroyed buildings?  (Read 1501 times)

0 Members and 2 Guests are viewing this topic.

Offline Inkompetent

  • Members
  • *
How to register destroyed buildings?
« on: 29 Jun 2007, 23:12:41 »
I'm trying to make a mission to bust some transformators, but I can't for all in the world get the game to understand if they are destroyed.

I've tried with the "object 488815" thing, but then the game complains about the space between 'object' and '488815', so how do I do it if I want a getDammage or !alive check?

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re: How to register destroyed buildings?
« Reply #1 on: 29 Jun 2007, 23:26:52 »
Do a search with the keywords object ID and limit the sarch to this board and ye shall find out why object XXXXX doesn't work ;)
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re: How to register destroyed buildings?
« Reply #2 on: 29 Jun 2007, 23:53:07 »
its like dat

put a gamelogic nead da building and type : Name = nearestBuilding GamelogicName

now u can use da name as da buildings name :D

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Offline The-Architect

  • Former Staff
  • ****
  • Bite my shiny metal...
    • Bob's Un-official Flashpoint Page
Re: How to register destroyed buildings?
« Reply #3 on: 06 Jul 2007, 02:49:34 »
How would it look syntax wise if I wanted to check if any of the bridge objects were destroyed?

EDIT: No need, found the solution in this thread,
http://www.ofpec.com/forum/index.php?topic=29248.0
« Last Edit: 06 Jul 2007, 02:57:18 by The-Architect »
James Andrew Wilkinson 1977 - 2005 R.I.P.
"If it ain't the friggin' incoming it's the friggin' outgoing. Only difference is who gets the friggin' grease, and that ain't no friggin' difference at all."

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: How to register destroyed buildings?
« Reply #4 on: 06 Jul 2007, 12:35:20 »
And make sure the object is destroyable as some of them are not.

Offline Inkompetent

  • Members
  • *
Re: How to register destroyed buildings?
« Reply #5 on: 31 Jul 2007, 22:02:08 »
Thank you!