HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

ok more problems

08-02-2004, 08:08 AM#1
1-stale-ninja
1) when the i make a unit respawn, how do i make it so that when it does respawn, i can give it a drop table?
2)is there any way i can make them move back to their old gaurd positions (like when i made trigger [replace dieing unit with unit type of dieing unit]) in other words, how do i make it so that they will go back to where i first put them?
thnx
08-02-2004, 11:21 PM#2
Rafael Br
1-You can't add a item table to a unit, but you can use a trigger to create an item when it dies, like this:
Event-A unit dies
Condition-Unit type of dying unit equal to(your unit)
Action-Set variable randon item = randon integer betwen 1 and 2.
If-randon item equal to 1
then - create (your item)
Else- create(another item if you have 2 ones, or else ignore the set variable and if\then\else part, put only the create item one).
2 - I think you have to set then into a point variable.