Werewolf Hero

l)emonStorm

New Member
Reaction score
3
I am making a werewolf hero who turns to a wolf at night and back to a human at day. I did this by making 2 different heroes (1 wolf 1 human). I put them both on the map and hide the wolf one at initialization. At night, I hide the human and show the wolf, move the life to the location of the human, and adjust its life and mana. However, if the human uses/aquires/drops an item during the day, i want the same to happen for the wolf (and visa versa). However, i cant find a trigger to do this for me. Please help!
 
Use this action when your hero changes forms:

Code:
For each (Integer A) from 1 to 6, do (Actions)
    Loop - Actions
        Hero - Give (Item carried by Werewolf (Human Form) <gen> in slot (Integer A)) to Werewolf (Wolf Form) <gen>

The different heroes will have to be switch around for Wolf to Human.

I am assuming that you are using these for either a single player or an RPG map where the player(s) start with their hero(es), because this trigger does not have much reuseablitly. It will work for this scenario only. Some changes would have to made if this is not correct.
 
l)emonStorm said:
pladams your code worked, but only for items in slot 1...
It shouldn't. It should work for all six slots. :confused:

Copy your trigger and post it?
 
Well, it should do the action 6 times switching the items for slots 1 - 6. Make sure you have the action down exactly as written, especially with all the loop stuff.
 
Code:
Actions
    For each (Integer A) from 1 to 6, do (Actions)
        Loop - Actions
            Hero - Give (Item carried by Werewolf (wolf form) 0024 <gen> in slot 1) to Werewolf 0022 <gen>

This is the code that i am using. I think it is identical to pladams.
 
It took you twenty minutes to realize that your trigger was different and erroneous and that his works?

Ah well, I was going to tell you what was wrong if you didn't figure it out :D

(FYI: You're a member so you can edit your posts. Please remember that before double posting)
 
It didnt take me 20 minutes...I walked away and then came back. Sorry about the double post my computer froze as i clicked post thread so i didnt think it had posted.
 
Hey demon storm, i was perusing the abilities list just now looking for something and i come upon an ability that would work for you. You can use this ability instead of have two heroes, and this way you dont have to worry about inventory issues.

Alter the militia ability. It allows you to specify the changed form and the normal form. Change Data - Normal Unit Form to your daytime hero and Data - Alternate Unit Form for your night form. Hope this helps. Enjoy.

It was funny that i thought of this thread immediately. ha.


edit
oops my bad the ability is called 'Call to Arms (peasant)' and it's under Human - Units.
 
If you read the thread, that's what they're doing.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    Wow - the change in the stats are major. I kind of knew it was all bots but wow, to see the effect. Why the social media sites cant do something like this I have no idea.
  • Ghan Ghan:
    Probably inflates their numbers so they look better to advertisers.
  • The Helper The Helper:
    Yeah google does not filter those bots. I remember when Apex was doing Google ads I saw the same IPs in there as I was seeing here - google is totally tracking all those bots as traffic and most google traffic, at least ours, was all bots
  • The Helper The Helper:
    oh wow, i bet i can post x links now and do the webp pics now giggity
  • The Helper The Helper:
    ahh anubis blocks anyone that has javascript turned off
  • The Helper The Helper:
    Robot: HTTP client library - i love the new robot :)
  • The Helper The Helper:
    New Science News Forum and it starts out with 420 threads :)
  • The Helper The Helper:
    Technical Support forum name changed To Technology News, there is now a Tech, sci/tech and science forums now :)
  • The Helper The Helper:
    Happy Saturday! Hope everyone has a fantastic weekend!
  • Ghan Ghan:
    We are now on Ubuntu 24.04. Had some issues with the style after the OS/PHP upgrade but now resolved.
    +1
  • Ghan Ghan:
    PHP 8.3 now live
    +1
  • The Helper The Helper:
    Weekend went by too fast. Next weekend I am going to try to do a nature thing - buddy of mine lives by the Colorado river and has some kayaks and invited me to do some kayaking from a place he knows to get on the river.
  • Ghan Ghan:
    That sounds like an adventure.
  • The Helper The Helper:
    400 users all online all looking at latest content
  • The Helper The Helper:
    I wonder how all these bots that sit on the lastest content page get passed anubis or maybe they did not but they are just registering on whos online
  • The Helper The Helper:
    showing up on whos online not registration
  • Ghan Ghan:
    The first gate is stopping all the bots that don't execute javascript.
  • Ghan Ghan:
    That's the main thing with Anubis - no Javascript, no site. Typically you can still get the site to load without Javascript.
  • The Helper The Helper:
    I remember the whole javascript thing, question - how many real people disable that?
  • The Helper The Helper:
    Hell I guess I could go back on the stats to know that - we probably capture that and we know the before and after
  • Ghan Ghan:
    Real users can't really disable Javascript anymore these days.
  • Ghan Ghan:
    The internet is broken without it.
  • Ghan Ghan:
    Bot readable, not human usable.
  • The Helper The Helper:
    got it
  • The Helper The Helper:
    Happy Thursday!

The Helper Discord

Members online

No members online now.

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top