Is it possible to have different names of the same unit for different players? Example: Ghost for both players. Player 1: Name stays the same. Player 2. Name changes to something else. if its possible how do I do it?
How do I make a unit have no vision but every 30 seconds he can see everything for 1 second?
Is it possible to have different names of the same unit for different players? Example: Ghost for both players. Player 1: Name stays the same. Player 2. Name changes to something else. if its possible how do I do it?
I believe this is possible. You can modify data entries for a single player via triggers. This is the action you're looking for. Note how "player" is a value you can specify. So you'd change the "name" entry for the ghost unit for player 2, and then that player would see a different name.
How do I make a unit have no vision but every 30 seconds he can see everything for 1 second?
I'm not entirely sure on this one, but I think you should be able to modify a unit's vision with behaviors. So you might be able to create a behavior which grants vision, but only lasts one second. And then you'd create another behavior (and give this one to your unit) that applies the first one every 30 seconds.
You'd need an "Add Behavior" effect to add the 1-second behavior. You'd set that effect to the periodic effect of your 30-second behavior, and set the period length to 30 seconds.
Rollback Post to RevisionRollBack
Feel free to Send me a PM if you have any questions/concerns!
To post a comment, please login or register a new account.
Is it possible to have different names of the same unit for different players? Example: Ghost for both players. Player 1: Name stays the same. Player 2. Name changes to something else. if its possible how do I do it?
How do I make a unit have no vision but every 30 seconds he can see everything for 1 second?
How do I make a unit jump a certain distance?
bump
Disclaimer: I don't have the editor available right this second, so these answers are just off the top of my head. No guarantees :)
I believe this is possible. You can modify data entries for a single player via triggers. This is the action you're looking for. Note how "player" is a value you can specify. So you'd change the "name" entry for the ghost unit for player 2, and then that player would see a different name.
I'm not entirely sure on this one, but I think you should be able to modify a unit's vision with behaviors. So you might be able to create a behavior which grants vision, but only lasts one second. And then you'd create another behavior (and give this one to your unit) that applies the first one every 30 seconds. You'd need an "Add Behavior" effect to add the 1-second behavior. You'd set that effect to the periodic effect of your 30-second behavior, and set the period length to 30 seconds.