questions

The place to post your WML questions and answers.

Moderator: Forum Moderators

Forum rules
  • Please use [code] BBCode tags in your posts for embedding WML snippets.
  • To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Post Reply
allanate
Posts: 16
Joined: November 16th, 2010, 3:31 pm

questions

Post by allanate »

can someone give me a macro for exp stealing and when you hit an enemy they go to your side? i tried the mind flay and charm but it didnt work.

EDIT: and i mean seperate macros
Ceres
Forum Regular
Posts: 620
Joined: September 18th, 2010, 7:56 pm
Location: Germany

Re: questions

Post by Ceres »

[event], [store_unit], [set_variable], [unstore_unit], if you're on 1.9: [modify_unit].

That's what you need, just try it, it's not hard, both codes together are around 40 lines (+4 to macrofy them).
User avatar
Dixie
Posts: 1757
Joined: February 10th, 2010, 1:06 am
Location: $x1,$y1

Re: questions

Post by Dixie »

Optionnally, I think some things looking like what you wanted are available in WML Abilities.
Jazz is not dead, it just smells funny - Frank Zappa
Current projects: Internet meme Era, The Settlers of Wesnoth
Post Reply