I need variable Help

Status
Not open for further replies.
Level 3
Joined
Aug 10, 2004
Messages
33
What I need is just to know like I have a trigger "A unit comes within range of unitX" Wat ype of variable can fit there im trying to make it a ward can anyone help me???
 
XxDark_KingxX said:
What I need is just to know like I have a trigger "A unit comes within range of unitX" Wat ype of variable can fit there im trying to make it a ward can anyone help me???

Entering Unit ....

unit come within range
entering unit equal to XxDark_KingxX
set AmComing = Entering Unit
if Amcoming equal to RandyM4A1 then do Say hello
if Amcoming equal to XxDark_kingxX then do Kill Amcoming
ya kill him :lol:
 
You need this type

The range within the unit comes is an integer type.

Let me give you an explanation about the common used variables:
Boolean = A boolean variable can only be true or false, like triggering unit is in region ... true
Integer = An integer is always a number f.e. 256 or 100. Used for level of unit, range, gold amount and many more...
String = A string is a word used for names or whatever. You can also use substring maybe like: Player Chatmessage as a substring.
Real = hmmm... i don't know yet but i don't use it often.

You can also use conversions like: convert integer to string (very useful!!!)

Hope this would help you.

----------------------------------
Current Projekt: Diablo the Legend
Quests: 0%
Items: 100%
Units: 100%
Game Progress: 100%
Bugs: 3 which i know...
----------------------------------
 
Status
Not open for further replies.
Back
Top