Help
Regional FlagInviteUnit("target") not working????Source
avatar
Sàcrúm
Target Source
#0 - 2009/04/01 04:14:06 AM
while targeting a freindly player target,

/script InviteUnit("target")

produces the error message,

Cannot find player 'target'.




Why? This should work and you can search the entire web without an answer as to why it doesn't.

avatar
Blue Poster
Target Source
#1 - 2009/04/01 04:30:54 AM
Hey Sàcrúm,

InviteUnit() was changed recently to only accept names as arguments. If you want to invite your target with the function, you can use /script InviteUnit(UnitName("target")) instead.