Staredit Network

Staredit Network -> SCMDraft -> Quick Question about Trig Edit..
Report, edit, etc...Posted by theta on 2005-09-29 at 12:16:53
Is there a way I can use variables. Like for example:

I want the health of a unit to be (2*Current player's Custom score).

I tried:
CODE
Modify Unit Hit Points("Current Player", "Men", (2*Score("Current Player", Custom)), 0, "Location");



I do alot of C++ and Java programming. Am I just expecting too much of this? Is it even possible?
Report, edit, etc...Posted by notnuclearrabbit on 2005-09-30 at 09:27:04
[center]Wait for Project stingray, variables aren't possible yet. ...I think...[/center]
Report, edit, etc...Posted by Subrosian on 2005-10-01 at 15:14:44
There is the program "Trigger Duplicator," but it only does "for()"loops with variables (with only subtraction and addition intervals, sad.gif ) and you cannot use multiplication or division or anything with it.

And setting hit points to a fixed number is not possible. You will have to use percentages.

If you want to use operations, refer to the Counter Arithmatic tutorial. However, HP cannot be used for arithmatic.
Report, edit, etc...Posted by theta on 2005-10-03 at 01:10:05
QUOTE(Subrosian @ Oct 1 2005, 01:14 PM)
There is the program "Trigger Duplicator," but it only does "for()"loops with variables (with only subtraction and addition intervals,  sad.gif ) and you cannot use multiplication or division or anything with it.

And setting hit points to a fixed number is not possible.  You will have to use percentages.

If you want to use operations, refer to the Counter Arithmatic tutorial.  However, HP cannot be used for arithmatic.
[right][snapback]325423[/snapback][/right]



Thanks, that helps alot.
Next Page (1)