I just made a function which works well. I didn't know that you can check player properties like that... galaxy editor is so different from the original s1 editor :P I guess its because it's been outdated for years...
Function:
-Options: Action
-Return Type: Boolean
-Parameter: point = No Point <point>
-Actions:
Player Group - Pick each player in (Active Players) and do (Actions)
If:
Conditions:
Controller of player (Picked player) == User
Status of player (Picked player) == Playing
Then:
Unit - Create 1 Marine for player (Picked player) at location using default facing (No Options) [at 'point]
Else:
N/A
General - Return ture
Ok. Now I've shown you what it looks like I'll explain for the people that might've randomly looked up this thread.
The function is an action type which can be implimented in other triggers and other functions. Once it is activated it selects all active players, not just 1 player. It includes computers and on some occasions inactive users. The function then goes through the condition process which checks to see if the player is a user or not then checks if the user is playing. These conditions will apply for each player picked. These conditions is to make sure that the player is a user and is actually playing. Then the unit is created for each player that has been picked and is a 'user' and is 'playing' at the 'point'. 'point' is the parameter that must be setup when using the fuction in any trigger or other functions, it's sort of like a global variable that this function always use... sorta.
After all those actions are done the function returns ture. It's something to indicate that the function has been used properly. There is no 'else' action as no actions should be taken when the conditions are met.
Am I right about any of this? Did I get anyting wrong? Is there a problem with the function?
Thanks. It's Better than my create then remove method XD. I'll just convert the second trigger to a action method... you'll be on my credits I promiss :D
I'm having trouble creating a single marine for 6 players (2-7player) at a single point. I thought about how I could do this but it just leaves convoluted ideas. Can anyone think of a trigger that would create 'marine' at 'point 001' for player 'x'. X is the variable that varies from 2 to 7, it's not a random variable it is systematically changed. Any other tips or guides that would help me with this would be appreciated.
0
Homeworld 1 + World in Conflict = Epic Quick Deathmatch Tactical Strategy Game In Space
Homeworld 2 + Sins of the Solar Empire = Epic Strategy Game In Space
Starcraft 2/Homeworld 2 + Allegiance + Free Space 2 = Epic RTS/FPS/TPS Hybrid
0
I just made a function which works well. I didn't know that you can check player properties like that... galaxy editor is so different from the original s1 editor :P I guess its because it's been outdated for years...
Function:
-Options: Action
-Return Type: Boolean
-Parameter: point = No Point <point>
-Actions:
Ok. Now I've shown you what it looks like I'll explain for the people that might've randomly looked up this thread. The function is an action type which can be implimented in other triggers and other functions. Once it is activated it selects all active players, not just 1 player. It includes computers and on some occasions inactive users. The function then goes through the condition process which checks to see if the player is a user or not then checks if the user is playing. These conditions will apply for each player picked. These conditions is to make sure that the player is a user and is actually playing. Then the unit is created for each player that has been picked and is a 'user' and is 'playing' at the 'point'. 'point' is the parameter that must be setup when using the fuction in any trigger or other functions, it's sort of like a global variable that this function always use... sorta.
After all those actions are done the function returns ture. It's something to indicate that the function has been used properly. There is no 'else' action as no actions should be taken when the conditions are met.
Am I right about any of this? Did I get anyting wrong? Is there a problem with the function?
0
@SouLCarveRR: Go
Thanks. It's Better than my create then remove method XD. I'll just convert the second trigger to a action method... you'll be on my credits I promiss :D
0
@ShadowDestroyer: Go
You could always import textures...
0
I'm having trouble creating a single marine for 6 players (2-7player) at a single point. I thought about how I could do this but it just leaves convoluted ideas. Can anyone think of a trigger that would create 'marine' at 'point 001' for player 'x'. X is the variable that varies from 2 to 7, it's not a random variable it is systematically changed. Any other tips or guides that would help me with this would be appreciated.