Is it possible to make a unit disappear?

Discussion and development of scenarios and campaigns for the game.

Moderator: Forum Moderators

Post Reply
User avatar
alunacast38
Translator
Posts: 9
Joined: January 17th, 2011, 9:59 pm
Location: Chicago, Illinois

Is it possible to make a unit disappear?

Post by alunacast38 »

Hello:

Greetings! I was wondering, Is it posible to make a unit disappear in a game when reaching a certain turn? (if so, How?)
User avatar
Crendgrim
Moderator Emeritus
Posts: 1328
Joined: October 15th, 2010, 10:39 am
Location: Germany

Re: Is it possible to make a unit disappear?

Post by Crendgrim »

Use [store_unit] with kill=yes in a new turn event.


Crend
UMC Story Images — Story images for your campaign!
monochromatic
Posts: 1549
Joined: June 18th, 2009, 1:45 am

Re: Is it possible to make a unit disappear?

Post by monochromatic »

Or you don't have any more use for him later, just [kill] him.
User avatar
Pentarctagon
Project Manager
Posts: 4700
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Is it possible to make a unit disappear?

Post by Pentarctagon »

There is [hide_unit]/[unhide_unit] as well.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
Post Reply