items help
Posted:
Wed Sep 21, 2005 3:48 pm
by bobolicious
just wondering if its possible to pick up items to use and hold such as weapons if soo how would i do this
Posted:
Wed Sep 21, 2005 10:07 pm
by Fuzzy
yeah, you'd need an array for an inventory, then put the weapons parent as the player, and use collision detection to handle the effects.
thats a simple direction, but maybe tricky to do as well.
You could also do a activation region containing actors representing the items carried. when the player accesses inventory, freeze the enemies, and combat controls, make the players actor invisible, and move him to the inventory area.
Posted:
Thu Sep 22, 2005 3:08 am
by Chai
1.you created Actor Item
2.Created Actor Player
Actor control/ Add animation
-2.1
add animation normal(character did't hold item) and add
animation hold the item (the picture is character hold item)
3.
Event add collision event with item add action
- Code: Select all
ChangeAnimation("Event Actor", "hold the item", FORWARD);
4. Finish