Two Jawas as one character. Impossible?
Moderator: Moderators
- Daniel0605
- Private Third Class
- Posts: 47
- Joined: Wed Nov 14, 2007 11:42 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Dominica
- Contact:
Two Jawas as one character. Impossible?
I know this is a crazy idea, but what I want is to create is two Jawas as one character. You control one, while the other follows. Kind of like the ice climbers in Super Smash Bros. Melee. On a scale of 1-10, with 10 being most impossible, how impossible do you think this is? If you think there's any way it might be possible, please post how you think you would do it. :jawa:
- [RDH]Zerted
- Gametoast Staff

- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
Re: Two Jawas as one character. Impossible?
You can't control two characters, but if you wanted to make the second a friendly AI then it would work. Stick the other guy on a team by himself. Set that team as an ally to yours. Give that team the AI goal of following your character. That AI unit will now try to closely follow you almost where ever you go.
-
wazmol
- High General

- Posts: 892
- Joined: Sat Sep 02, 2006 6:47 pm
- Projects :: Thinking...
- Location: London
- Contact:
Re: Two Jawas as one character. Impossible?
say, zer' what would the line be to make an ai follow you around?
- [RDH]Zerted
- Gametoast Staff

- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
Re: Two Jawas as one character. Impossible?
AddAIGoal(<ai team>, "follow", <goal weight>, <character/object/entity to follow>)
A real use example:That says the BODYGUARD team should follow the agroGenonosianIndex character. The goal weight is converted into a percentage of the largest goal weight, then that percentage of the AI on the team attempts to do that goal.
More code to better understand what agroGeonosianIndex is:
A real use example:
Code: Select all
AddAIGoal(BODYGUARDS, "Follow", 300, agroGeonosianIndex)More code to better understand what agroGeonosianIndex is:
Code: Select all
local agroGeonosianIndex = GetTeamMember(BOSS, 0)
local agroGeonosianUnit = GetCharacterUnit( agroGeonosianIndex )