| 03-12-2003, 08:22 AM | #1 |
1st whats all the possible entries? and then is it possible to specifie a target, like if I only want sheeps to be targets is there a way to do that? and how come never anwser my last question about spell triggering, guess it was kinna hard i think i might have find a way thoguht. :P :Heh: ![]() oh another thing, i want to be able to create a summon spell to summon random monsters is that possible? |
| 03-12-2003, 12:06 PM | #2 |
When the unit is ordered a order targeting a unit, run a IF statement to see if the targeted unit is a sheep, if it is, do nothing else order the triggering unit to stop, that will stop the unit from casting the spell. same with the random monsters, you would need to detect when the original unit is summoned, then you would pick a random number and pull a unit out of a unit-type array and create it. e.g. at map int: set MSummon[1] = WaterElemental Set MSummon[2] = Footman Set MSummon[3] = Knight then when the spell is casted remove last summoned unit create 1 Msummon[RandomNumber between 1 and 3] at location of last summoned unit |
| 03-13-2003, 01:48 AM | #3 |
thx for the reply, but i was looking for possiblitys in editing the speell to do that, no with triggers. spell triggers scare meemote_sweat |
| 03-13-2003, 01:49 AM | #4 |
well sorry but its not possable though slk editing, to do what you want there is no slk editing involved actualy heh |
