 |
|
ahenobarb
|
|
What are the two int's in the MoveArmy command for? I've put different numbers in there without any effect.
MoveArmy(army_t, int_t, int_t, int_t, location_t)
Move an army one square
Usually I use MoveUnits, but I thought perhaps I could get some extra functionality here.
|
|
|  |
 |
|
Martin Gühmann
|
 |
Berlin, Germany
Mar 2001 time: 06:25
|
|
Maybe I should quote again the slic documention:
quote:
MoveArmy(army_t, int_t, int_t, int_t, location_t)
Move an army one square |
So the first int is the direction in that the army moves that should vary from 0 to 7. The other both are still a mystery. Well I have to admit that I overlooked the third one that should be accessed with value[0] .
The only example of triggering this event I found was in one of my experimental slic files here is the line:
Event:MoveArmy(MGArmy2, k, 1000, 1000, MGLoc);
k contains the direction, the other two ints are set very high probably they don't do anything, but test it with the messagebox.
-Martin
|
|
|  |
 |
|
Peter Triggs
|
|
Gone Fishin, Canada
Jan 2000 time: 05:25
|
|
quote:
Usually I use MoveUnits, but I thought perhaps I could get some extra functionality here.
|
You've got that to work? When I tried generating MoveUnit events, IIRC I ran up against a problem with it leaving a zone of control (invisably) behind. I think Locutus noticed this too.
|
|
|  |
All times are GMT. The time now is 05:25. Apolyton Time is 00:25. |
top of page
|
| archivepost |
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
|
|
|
|
|
|