Getting units

wqaz

Member!
Joined
Feb 24, 2004
Messages
258
Reaction score
0
Location
WI
Website
Visit site
hi i was wondering if there was a way like if i where to type this -orc grunt 4 and it will make 4 orc grounds cause im tring to make this rpg
 

Kaldaris

BattleForums Senior Member
Joined
Jan 15, 2003
Messages
2,896
Reaction score
0
Location
Kennewick, WA
Website
www.sundren.org
Those are often scripted triggers.

As against stealing triggers and scripts from maps as I am, I would reccomend that, because typing out the script is tedious, and annoying as hell.
 

Darimus

BattleForums Addict
Joined
Oct 2, 2003
Messages
681
Reaction score
0
Website
www.spaceman.vze.com
There's a GUI method of creating units... Create (convert string to integer) unit of type: (convert string to unit-type [Yes, this exists as a GUI function]), at [wherever]
 

ChrisH36

Guy with Most Posts on Quiet Board.
Joined
May 20, 2003
Messages
15,042
Reaction score
4
Location
Temple Prime, Sarajevo
wqaz said:
hi i was wondering if there was a way like if i where to type this -orc grunt 4 and it will make 4 orc grounds cause im tring to make this rpg
If Player 1 types -orc grunt 4 as an exact match, create 4 Grunts at location. Other than that, you need to master Python or a scripting language to do that.
 

tassadar920

Member!
Joined
May 18, 2003
Messages
2,048
Reaction score
0
Location
My house
Python? That's ridiculous

Why would you need to know python to make a trigger in the world editor? That was the dumbest thing i've heard in a while.

No you would need a trigger that can "cut" apart input from a user then change them from cut up strings into unit-types, an integer, and then use a "Unit - Create units (your variables)" to make the units.
 

ChrisH36

Guy with Most Posts on Quiet Board.
Joined
May 20, 2003
Messages
15,042
Reaction score
4
Location
Temple Prime, Sarajevo
Ok so maybe not Python, unless you want to make a game of your own. You still need to know/learn how to script properly though :(
 

NewPosts

New threads

Top