• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Physics

Status
Not open for further replies.
Level 4
Joined
Oct 24, 2008
Messages
64
How do i do all that physics stuff you know like a spell hits a unit he flys a few hundred metres into the air and lands maybe even with a bounce im hopeing lol more like praying that i can do it using normal triggers either way i need to know how the new game im working on :) is a harry potter rpg and alot of the spells i intend to put in rely on that i can make something fly into the air.
Eg: expeliarmus (need to learn how to spell it XD)

Whoever gives me the first usful reply i will put in my credits
 
Level 9
Joined
Apr 3, 2008
Messages
700
You can move the target unit of ability being cast by loop:
Code:
local integer i=0
loop
set i=i+1
Unit - Move *********************************
Wait *** seconds
exitwhen i==***
endloop

Fleight height can be changed by action:
  • Animation - Change (unit) flying height to *** at ***
 
Status
Not open for further replies.
Top