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

Forum Info
Forum Members: 18,679
Total Threads: 8,804
Posts: 95,885

Administrators:
DeeZire, Redemption

There are currently 16 users online.
Partner Links

Free Credit Repair

Learn the Ticket Broker Secrets
Advertisements


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

Reply
 
LinkBack Thread Tools
Old 02-27-2005, 02:36 PM   #1 (permalink)
Senior Member
 
Join Date: May 2003
Location: Eindhoven, Netherlands
Posts: 2,278
Send a message via ICQ to CodeCat Send a message via MSN to CodeCat
Default [SOLVED] Auto Guard

Does anyone know if it's possible to make units auto-guard when idle? I have a unit that has a really short range, but I'd like it to go off attacking any enemy units that get near it. Normally it would just sit idle and get killed, because its range is so short. So, how do I do this?
CodeCat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-27-2005, 03:57 PM   #2 (permalink)
Senior Member
 
Join Date: May 2003
Location: Eindhoven, Netherlands
Posts: 2,278
Send a message via ICQ to CodeCat Send a message via MSN to CodeCat
Default

Never mind, I have it fixed. Sleipir (from Sleipnir's Stuff) gave me the hint of making a dummy Primary weapon and the real weapon Secondary. The dummy does no damage, but has a range of 175. When the enemy comes near, the unit tries to attack, but it will try to attack with both weapons. And the second has a really short range, so it will run towards the enemy and attack it with secondary.
CodeCat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-27-2005, 05:35 PM   #3 (permalink)
Member
 
Join Date: Sep 2003
Posts: 63
Default

A better way is to increase its VisionRange. Units will try to attack things that they can actually "see", even if their weapons can't reach them.
Airstriker is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-27-2005, 05:54 PM   #4 (permalink)
Senior Member
 
Join Date: May 2003
Location: Eindhoven, Netherlands
Posts: 2,278
Send a message via ICQ to CodeCat Send a message via MSN to CodeCat
Default

The unit's visionrange was 150, but they didn't attack by themselves. So either you need something else for that to work, or it doesn't work at all.
CodeCat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-01-2005, 12:22 AM   #5 (permalink)
Senior Member
 
Join Date: May 2004
Location: My Secret Volcano Lair (USA)
Posts: 702
Send a message via AIM to Silent_Killa Send a message via MSN to Silent_Killa
Default

isn't there an autoattackwhenidle line or something like that... can't quite remember off the top of my head
Silent_Killa is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-01-2005, 06:08 AM   #6 (permalink)
Senior Member
 
Join Date: May 2003
Location: Eindhoven, Netherlands
Posts: 2,278
Send a message via ICQ to CodeCat Send a message via MSN to CodeCat
Default

If it works now, don't you think the unit has that now?
CodeCat 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
Guard Order Jim Starluck Generals & Zero Hour Editing 10 01-28-2005 08:48 PM
Red Guard Bayonet Mishkin Generals & Zero Hour Editing 4 11-15-2003 11:40 PM
Auto-choosing weapons problem (SOLVED) CodeCat Generals & Zero Hour Editing 10 09-16-2003 10:54 AM
New Red Guard Skin oldmfunk Generals & Zero Hour Editing 25 05-04-2003 10:44 PM
Can planes auto GUARD your base given a certain range cougman Red Alert 2 & Yuri's Revenge Editing 15 04-24-2003 04:51 PM


All times are GMT -4. The time now is 02:58 AM.


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