Staredit Network

Staredit Network -> UMS Assistance -> Sprites on fire...
Report, edit, etc...Posted by Forsaken on 2005-02-09 at 23:49:46
Yes, I read the tutorial. I don't undertsand it. The way the tutorila was written got me confused, so i was just wondering if anyone can simplify that for me?

What I am trying to do is to make "trees" on fire, i know how to make them on fire but i dont want to see the bunker. So i was wondering how to make the bunker cloaked so just the fire was showing up and not the bunker.

Is that possible?

Thanks for the help!
Report, edit, etc...Posted by Screwed on 2005-02-09 at 23:55:14
Set Hitpoints to 40 %

Disable the bunker using SetDoodadState

Create a observer for a human player at the bunker

Wait 111 milliseconds

Remove observer

You are done.
Report, edit, etc...Posted by Forsaken on 2005-02-10 at 00:05:29
Thank you screwed, that is much better biggrin.gif the one in the tutorial was.... censored.gif ty! disgust.gif
Report, edit, etc...Posted by RexyRex on 2005-02-10 at 01:22:03
Or to make any bunker placed have that effect...
Make a 2x3 location (Named Bunker), you know bunker size. Place bunkers for player 8. Then make this trigger...

PLAYERS:
Whichever force has all the human players.

CONDITIONS:
Player 8 commands at least 1 Terran Bunker

ACTIONS:
Center location labeled Bunker on all Terran Bunker owned by Player 8.
Give all bunker owned by player 8 at Bunker to player 12
Create one observer for current player at Bunker
Wait for 100 milliseconds
Kill/remove all observer for current player at Bunker
Report, edit, etc...Posted by chuiu on 2005-02-10 at 10:21:05
How is that going to do anything but give all bunkers to player 12, Rexy?
Report, edit, etc...Posted by LegacyWeapon on 2005-02-10 at 16:22:39
QUOTE(RexyRex @ Feb 10 2005, 01:22 AM)
Or to make any bunker placed have that effect...
Make a 2x3 location (Named Bunker), you know bunker size. Place bunkers for player 8. Then make this trigger...

PLAYERS:
Whichever force has all the human players.

CONDITIONS:
Player 8 commands at least 1 Terran Bunker

ACTIONS:
Center location labeled Bunker on all Terran Bunker owned by Player 8.
Give all bunker owned by player 8 at Bunker to player 12
Create one observer for current player at Bunker
Wait for 100 milliseconds
Kill/remove all observer for current player at Bunker

[right][snapback]142055[/snapback][/right]

Please pay more attention to the question. It was specifically about the tutorial about the Trees on Fire.
1) Gives 1 bunker owned by Player 8 to Player 12.
2) Creates and blows up an observer over it.
3) Wait, that's it.
Please make sure when you are answering a question to understand the question fully. happy.gif
Report, edit, etc...Posted by Deathknight on 2005-02-10 at 17:51:48
Use up to two players if you can. It can be any neutral player and a computer player.
The bunkers or whatever will be preplaced for player 9.


Trigger
Description:
Setting the fire
Players:
¤ Player 8 (Computer)
Conditions:
¤ Player 9 commands at least 1 bunker.
Actions:
¤ Set dooad state: 'Disable' for bunker owned by player 9 at 'anywhere'.
¤ Modify unit hit points: Set for 1 bunker owned by player 9 at anywhere to 40%
¤ Give 1 bunker owned by player 9 to player 8 at anywhere.
¤ Preserve trigger.



Trigger
Description:
Getting the invisible bunker effect without the use of extra units
Players:
¤ All players
Conditions:
¤ Player 9 commands at most 0 bunker.
¤ Player 8 commands at least 1 bunker.
Actions:
¤ Run AI Script: "Turn on shared vision with Player 8"
¤ Wait X milliseconds.
¤ Run AI Script: "Turn off shared vision with player 8"


This is assuming players 1-7 are human, and player 8 is a computer. There are probably other methods for getting the same effect.
Next Page (1)