logo   login
right
Home Forums Downloads Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Forum Info
Forum Members: 18,581
Total Threads: 8,668
Posts: 94,540

Administrators:
DeeZire, Redemption

There are currently 42 users online.
Partner Links

Free Credit Repair

Learn the Ticket Broker Secrets
Advertisements

DeeZire Online > Editing Community > Command and Conquer Editing > Generals & Zero Hour Editing » How to kill a unit as soon as it is created?

Generals & Zero Hour Editing Discuss any modding related issues to do with Generals and Zero Hour here.

Reply
 
LinkBack Thread Tools
Old 06-07-2004, 10:53 PM   #1 (permalink)
Senior Member
 
Join Date: Aug 2003
Posts: 109
Default How to kill a unit as soon as it is created?

I want to create a unit and as soon as it is built - it will die automatically. Sounds crazy, I know. Is this possible? I tried with changing the health = -100, but it still just stands around.

Any ideas?

- Colton
Colton is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-08-2004, 12:32 AM   #2 (permalink)
Senior Member
 
Join Date: Feb 2004
Location: Glued to the chair in front of my laptop
Posts: 1,158
Default

What i think you could do is make it so that it spawns anthrax or radiation, then make it die from its own poison. Sorry if thats not what you wanted. And why do you want this to happen?
GametagAeonFlux is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-08-2004, 01:11 AM   #3 (permalink)
Junior Member
 
Join Date: May 2004
Location: Australia
Posts: 28
Send a message via MSN to UlthuanDefender
Default

You need a LifetimeUpdate Moduletag...

Code:
  
Behavior          = LifetimeUpdate ModuleTag_XX
      MinLifetime = [integer, milliseconds]
      MaxLifetime = [integer, milliseconds, should be greater than or equal to MinLifetime]
  End
You can then add an OCL TO create a new object, add differen death types and many many more possibilities!
UlthuanDefender is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-08-2004, 02:23 AM   #4 (permalink)
Senior Member
 
Join Date: Aug 2003
Location: UK
Posts: 704
Send a message via MSN to Mithril
Default

Alternatively you could give it a FireweaponUpdate
Mithril is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-08-2004, 03:10 AM   #5 (permalink)
Senior Member
 
Join Date: May 2004
Posts: 181
Default

Is it possible to kill the object when you tell it to move then it creates a new object at the new location? I'm working on instant teleportation and this could help me because using a very fast locomotor doesn't work like i want.
Capt_Pickles is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-08-2004, 03:13 AM   #6 (permalink)
Senior Member
 
Join Date: Aug 2003
Location: UK
Posts: 704
Send a message via MSN to Mithril
Default

Well you could do it with a commandbutton - one that fires a weapon that destroys SELF and spawns "itself" at the entered location. Prob is you could do this everywhere, AND you would loose veterancy, AND you would get 100% health again.
Mithril is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with Saboteur Ability? (not kill self on use) lil-bondy Generals & Zero Hour Editing 12 07-27-2006 07:27 PM
Animating self created models Rybolt Generals & Zero Hour Editing 7 02-29-2004 07:50 PM
Why can't i see the man i have created in editing Yuri_the_mind-enslaver Red Alert 2 & Yuri's Revenge Editing 33 09-16-2003 08:21 AM
Mod Team Being Created, join now jimmy_jo Generals & Zero Hour Editing 16 02-10-2003 11:01 PM


All times are GMT -4. The time now is 03:53 PM.


Design By: Miner Skinz.com
Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.