Jump to content


Photo

death ocl


  • Please log in to reply
3 replies to this topic

#1 firmus

firmus
  • Project Team
  • 134 posts

Posted 15 March 2006 - 08:34 PM

hi, after my question about drogoth, I have another^^

It is possible, that the death OCL is only used, if there is an upgrade. for example,
if a unit on level 1 dies it spawn nothing, but if the same unit have the upgrade Upgrade_ObjectLevel2 for example, and it dies, it spawns a ocl

I would be very thankful if you know sth.

#2 Kelso

Kelso

    BFME Admin

  • Project Team
  • 1,467 posts
  • Projects:Rise of Rome, Rise of Rome 2
  •  AWD and T3A Team Chamber Leader
  • Division:BFME
  • Job:Designer: Rise of Rome 1 and 2

Posted 15 March 2006 - 09:00 PM

This was possible in Generals. (See demo truck code). I am fairly certain you can still do it in bfme though.
Posted Image
Posted Image

#3 ched

ched

    .

  • Undead
  • 4,431 posts
  • Location:Angers (France)
  • Projects:Rhovanion Alliance
  •  T3A Team Chamber Member
  • Division:BFME
  • Job:Previous Division Leader

Posted 15 March 2006 - 11:14 PM

I do believe that the following can be used :

  Behavior = CreateObjectDie ModuleTag_OnDeathSpawn
   DeathTypes = ALL
	CreationList = OCL_
	TriggeredBy = 
  End

and I just game.dat checked :wub:
Software is like sex; it's better when it's free ~Linus Torvald

#4 firmus

firmus
  • Project Team
  • 134 posts

Posted 16 March 2006 - 12:34 PM

thank you, now it works ;)




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users