So im trying to do a sell tower trigger (im horrible with this map editor) and i found a post with someone saying to do this:
Modify player (Triggering player) Minerals: Add (Integer((*(Real((Minerals Cost of (Unit type of(Triggering unit))))), 0.75))))
After spending like a few hours trying to figure out how to actually do it... i gave up... for the life of me i cant find anything that says "mineral cost of " anything... can someone break this down for me and tell me where i would go to do this? thanks :)
So im trying to do a sell tower trigger (im horrible with this map editor) and i found a post with someone saying to do this:
Modify player (Triggering player) Minerals: Add (Integer((*(Real((Minerals Cost of (Unit type of(Triggering unit))))), 0.75))))
After spending like a few hours trying to figure out how to actually do it... i gave up... for the life of me i cant find anything that says "mineral cost of " anything... can someone break this down for me and tell me where i would go to do this? thanks :)
@Delvianna: Go
EDIT: Here we go..
Go to Action "Modify Player Property"
then for the number, you must go to "Unit Type Cost" function. There ya go.
@Enexy: Go
Awesome thanks a bunch!!! found it :D i was going nuts and was about to cry :( now to test!