I want to reduce unit type movement speed if a unit of that type moves onto a particular type of terrain. What would be the easiest way to do this, if its possible?
make a periodic trigger that looks like this:
Event:
Every 0.5 sec of game time
Cond
Action:
set tempgroup = units of type footman
pick every unit in tempgroup and do
-set temppoint = pos of picked unit
--if terrain at temppoint = lorderon ice then do
--set move speed to move speed of picked unit -1000
--else
--set movespeed to default movespeed
-custom script: call RemoveLocation (udg_temppoint)
Custom script: call DestroyGroup (udg_tempgroup)
I'm on a page about incorrect corrections, and spent the better part of like two hours trying to get someone to understand that -5^2 = -25, not 25, and then that post had comments get reposted because that group is self sustaining, and that person was in turn trying to explain what I just explained to them. And I'm taking that as a victory
I will be AFK for a couple of days you guys hold down the fort while I am gone. I will be checking in on my phone but that will severly limit me. Be back saturday!